1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-30 00:47:38 +00:00

more cleanup

This commit is contained in:
kimocoder 2018-02-25 23:16:51 +01:00
parent b8e3b80e4f
commit c9d7263e83
17 changed files with 812 additions and 799 deletions

61
.cache.mk Normal file
View File

@ -0,0 +1,61 @@
__cached__gcc-7_-v_2>&1_|_grep_-q_"clang_version"_&&_echo_clang_||_echo_gcc := gcc
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-fno-PIE";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -fno-PIE
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-fno-PIE_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-fno-PIE";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -fno-PIE
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if____gcc-7_-Werror__-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-Wmaybe-uninitialized_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-Wno-maybe-uninitialized";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -Wno-maybe-uninitialized
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE__-mpreferred-stack-boundary_4_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"_-mpreferred-stack-boundary_4";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -mpreferred-stack-boundary=4
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE__-m16_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"_-m16";_else_echo_"_-m32_-Wa_/usr/src/linux-headers-4.15.0-kali1-common/arch/x86/boot/code16gcc.h";_fi;_rm_-f_"_TMP"_"_TMPO" := -m16
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror__-m16_-g_-Os_-D__KERNEL___-DDISABLE_BRANCH_PROFILING_-Wall_-Wstrict-prototypes_-march_i386_-mregparm_3_-fno-strict-aliasing_-fomit-frame-pointer_-fno-pic_-mno-mmx_-mno-sse__-ffreestanding_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"_-ffreestanding";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -ffreestanding
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror__-m16_-g_-Os_-D__KERNEL___-DDISABLE_BRANCH_PROFILING_-Wall_-Wstrict-prototypes_-march_i386_-mregparm_3_-fno-strict-aliasing_-fomit-frame-pointer_-fno-pic_-mno-mmx_-mno-sse_-ffreestanding__-fno-stack-protector_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"_-fno-stack-protector";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -fno-stack-protector
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror__-m16_-g_-Os_-D__KERNEL___-DDISABLE_BRANCH_PROFILING_-Wall_-Wstrict-prototypes_-march_i386_-mregparm_3_-fno-strict-aliasing_-fomit-frame-pointer_-fno-pic_-mno-mmx_-mno-sse_-ffreestanding_-fno-stack-protector__-mpreferred-stack-boundary_2_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"_-mpreferred-stack-boundary_2";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -mpreferred-stack-boundary=2
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-mno-avx";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -mno-avx
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-falign-jumps_1";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -falign-jumps=1
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-falign-loops_1";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -falign-loops=1
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-mno-80387";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -mno-80387
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-mno-fp-ret-in-387";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -mno-fp-ret-in-387
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-mpreferred-stack-boundary_3";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -mpreferred-stack-boundary=3
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-mskip-rax-setup";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -mskip-rax-setup
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-mtune_generic";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -mtune=generic
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-funit-at-a-time";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -funit-at-a-time
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if____gcc-7_-Werror__-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI__-mfentry_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"y";_else_echo_"n";_fi;_rm_-f_"_TMP"_"_TMPO" := y
__cached_/bin/bash_/usr/src/linux-headers-4.15.0-kali1-common/scripts/gcc-version.sh_-p__gcc-7_ := 070300
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if___printf_"%b_n"_".cfi_startproc_n.cfi_rel_offset_rsp_0_n.cfi_endproc"_|__gcc-7_-D__ASSEMBLY___-fno-PIE_-m64_-DCONFIG_X86_X32_ABI_-c_-x_assembler_-o_"_TMP"_-__>/dev/null_2>&1;_then_echo_"-DCONFIG_AS_CFI_1";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -DCONFIG_AS_CFI=1
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if___printf_"%b_n"_".cfi_startproc_n.cfi_signal_frame_n.cfi_endproc"_|__gcc-7_-D__ASSEMBLY___-fno-PIE_-m64_-DCONFIG_X86_X32_ABI_-c_-x_assembler_-o_"_TMP"_-__>/dev/null_2>&1;_then_echo_"-DCONFIG_AS_CFI_SIGNAL_FRAME_1";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -DCONFIG_AS_CFI_SIGNAL_FRAME=1
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if___printf_"%b_n"_".cfi_sections_.debug_frame"_|__gcc-7_-D__ASSEMBLY___-fno-PIE_-m64_-DCONFIG_X86_X32_ABI_-c_-x_assembler_-o_"_TMP"_-__>/dev/null_2>&1;_then_echo_"-DCONFIG_AS_CFI_SECTIONS_1";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -DCONFIG_AS_CFI_SECTIONS=1
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if___printf_"%b_n"_"fxsaveq__%rax_"_|__gcc-7_-D__ASSEMBLY___-fno-PIE_-m64_-DCONFIG_X86_X32_ABI_-c_-x_assembler_-o_"_TMP"_-__>/dev/null_2>&1;_then_echo_"-DCONFIG_AS_FXSAVEQ_1";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -DCONFIG_AS_FXSAVEQ=1
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if___printf_"%b_n"_"pshufb_%xmm0_%xmm0"_|__gcc-7_-D__ASSEMBLY___-fno-PIE_-m64_-DCONFIG_X86_X32_ABI_-c_-x_assembler_-o_"_TMP"_-__>/dev/null_2>&1;_then_echo_"-DCONFIG_AS_SSSE3_1";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -DCONFIG_AS_SSSE3=1
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if___printf_"%b_n"_"crc32l_%eax_%eax"_|__gcc-7_-D__ASSEMBLY___-fno-PIE_-m64_-DCONFIG_X86_X32_ABI_-c_-x_assembler_-o_"_TMP"_-__>/dev/null_2>&1;_then_echo_"-DCONFIG_AS_CRC32_1";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -DCONFIG_AS_CRC32=1
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if___printf_"%b_n"_"vxorps_%ymm0_%ymm1_%ymm2"_|__gcc-7_-D__ASSEMBLY___-fno-PIE_-m64_-DCONFIG_X86_X32_ABI_-c_-x_assembler_-o_"_TMP"_-__>/dev/null_2>&1;_then_echo_"-DCONFIG_AS_AVX_1";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -DCONFIG_AS_AVX=1
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if___printf_"%b_n"_"vpbroadcastb_%xmm0_%ymm1"_|__gcc-7_-D__ASSEMBLY___-fno-PIE_-m64_-DCONFIG_X86_X32_ABI_-c_-x_assembler_-o_"_TMP"_-__>/dev/null_2>&1;_then_echo_"-DCONFIG_AS_AVX2_1";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -DCONFIG_AS_AVX2=1
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if___printf_"%b_n"_"vpmovm2b_%k1_%zmm5"_|__gcc-7_-D__ASSEMBLY___-fno-PIE_-m64_-DCONFIG_X86_X32_ABI_-c_-x_assembler_-o_"_TMP"_-__>/dev/null_2>&1;_then_echo_"-DCONFIG_AS_AVX512_1";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -DCONFIG_AS_AVX512=1
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if___printf_"%b_n"_"sha1msg1_%xmm0_%xmm1"_|__gcc-7_-D__ASSEMBLY___-fno-PIE_-m64_-DCONFIG_X86_X32_ABI_-c_-x_assembler_-o_"_TMP"_-__>/dev/null_2>&1;_then_echo_"-DCONFIG_AS_SHA1_NI_1";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -DCONFIG_AS_SHA1_NI=1
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if___printf_"%b_n"_"sha256msg1_%xmm0_%xmm1"_|__gcc-7_-D__ASSEMBLY___-fno-PIE_-m64_-DCONFIG_X86_X32_ABI_-c_-x_assembler_-o_"_TMP"_-__>/dev/null_2>&1;_then_echo_"-DCONFIG_AS_SHA256_NI_1";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -DCONFIG_AS_SHA256_NI=1
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-mindirect-branch_thunk-extern_-mindirect-branch-register";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -mindirect-branch=thunk-extern -mindirect-branch-register
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-fno-delete-null-pointer-checks";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -fno-delete-null-pointer-checks
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if____gcc-7_-Werror__-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wframe-address_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-Wno-frame-address";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -Wno-frame-address
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if____gcc-7_-Werror__-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wformat-truncation_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-Wno-format-truncation";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -Wno-format-truncation
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if____gcc-7_-Werror__-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wformat-overflow_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-Wno-format-overflow";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -Wno-format-overflow
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if____gcc-7_-Werror__-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wint-in-bool-context_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-Wno-int-in-bool-context";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -Wno-int-in-bool-context
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if____gcc-7_-Werror__-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2_-Wmaybe-uninitialized_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-Wno-maybe-uninitialized";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -Wno-maybe-uninitialized
__cached_/bin/bash_/usr/src/linux-headers-4.15.0-kali1-common/scripts/gcc-version.sh__gcc-7_ := 0703
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-nostdinc_-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2_--param_allow-store-data-races_0_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"--param_allow-store-data-races_0";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := --param=allow-store-data-races=0
__cached_/bin/bash_/usr/src/linux-headers-4.15.0-kali1-common/scripts/gcc-goto.sh__gcc-7_-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2__--param_allow-store-data-races_0 := y
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-nostdinc_-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2_--param_allow-store-data-races_0_-DCC_HAVE_ASM_GOTO_-Wframe-larger-than_2048_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-Wframe-larger-than_2048";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -Wframe-larger-than=2048
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if____gcc-7_-Werror__-nostdinc_-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2_--param_allow-store-data-races_0_-DCC_HAVE_ASM_GOTO_-Wframe-larger-than_2048_-fstack-protector-strong_-Wunused-but-set-variable_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-Wno-unused-but-set-variable";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -Wno-unused-but-set-variable
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if____gcc-7_-Werror__-nostdinc_-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2_--param_allow-store-data-races_0_-DCC_HAVE_ASM_GOTO_-Wframe-larger-than_2048_-fstack-protector-strong_-Wno-unused-but-set-variable_-Wunused-const-variable_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-Wno-unused-const-variable";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -Wno-unused-const-variable
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-nostdinc_-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2_--param_allow-store-data-races_0_-DCC_HAVE_ASM_GOTO_-Wframe-larger-than_2048_-fstack-protector-strong_-Wno-unused-but-set-variable_-Wno-unused-const-variable__-fno-var-tracking-assignments_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"_-fno-var-tracking-assignments";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -fno-var-tracking-assignments
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-nostdinc_-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2_--param_allow-store-data-races_0_-DCC_HAVE_ASM_GOTO_-Wframe-larger-than_2048_-fstack-protector-strong_-Wno-unused-but-set-variable_-Wno-unused-const-variable_-fno-var-tracking-assignments_-g__-mfentry_-DCC_USING_FENTRY_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"_-mfentry_-DCC_USING_FENTRY";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -mfentry -DCC_USING_FENTRY
__cached__gcc-7_-print-file-name_include := /usr/lib/gcc/x86_64-linux-gnu/7/include
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-nostdinc_-isystem_/usr/lib/gcc/x86_64-linux-gnu/7/include_-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2_--param_allow-store-data-races_0_-DCC_HAVE_ASM_GOTO_-Wframe-larger-than_2048_-fstack-protector-strong_-Wno-unused-but-set-variable_-Wno-unused-const-variable_-fno-var-tracking-assignments_-g_-pg_-mfentry_-DCC_USING_FENTRY_-Wdeclaration-after-statement_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-Wdeclaration-after-statement";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -Wdeclaration-after-statement
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if____gcc-7_-Werror__-nostdinc_-isystem_/usr/lib/gcc/x86_64-linux-gnu/7/include_-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2_--param_allow-store-data-races_0_-DCC_HAVE_ASM_GOTO_-Wframe-larger-than_2048_-fstack-protector-strong_-Wno-unused-but-set-variable_-Wno-unused-const-variable_-fno-var-tracking-assignments_-g_-pg_-mfentry_-DCC_USING_FENTRY_-Wdeclaration-after-statement_-Wpointer-sign_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-Wno-pointer-sign";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -Wno-pointer-sign
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-nostdinc_-isystem_/usr/lib/gcc/x86_64-linux-gnu/7/include_-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2_--param_allow-store-data-races_0_-DCC_HAVE_ASM_GOTO_-Wframe-larger-than_2048_-fstack-protector-strong_-Wno-unused-but-set-variable_-Wno-unused-const-variable_-fno-var-tracking-assignments_-g_-pg_-mfentry_-DCC_USING_FENTRY_-Wdeclaration-after-statement_-Wno-pointer-sign_-fno-strict-overflow_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-fno-strict-overflow";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -fno-strict-overflow
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-nostdinc_-isystem_/usr/lib/gcc/x86_64-linux-gnu/7/include_-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2_--param_allow-store-data-races_0_-DCC_HAVE_ASM_GOTO_-Wframe-larger-than_2048_-fstack-protector-strong_-Wno-unused-but-set-variable_-Wno-unused-const-variable_-fno-var-tracking-assignments_-g_-pg_-mfentry_-DCC_USING_FENTRY_-Wdeclaration-after-statement_-Wno-pointer-sign_-fno-strict-overflow_-fno-stack-check_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-fno-stack-check";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -fno-stack-check
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-nostdinc_-isystem_/usr/lib/gcc/x86_64-linux-gnu/7/include_-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2_--param_allow-store-data-races_0_-DCC_HAVE_ASM_GOTO_-Wframe-larger-than_2048_-fstack-protector-strong_-Wno-unused-but-set-variable_-Wno-unused-const-variable_-fno-var-tracking-assignments_-g_-pg_-mfentry_-DCC_USING_FENTRY_-Wdeclaration-after-statement_-Wno-pointer-sign_-fno-strict-overflow_-fno-stack-check_-fconserve-stack_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-fconserve-stack";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -fconserve-stack
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-nostdinc_-isystem_/usr/lib/gcc/x86_64-linux-gnu/7/include_-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2_--param_allow-store-data-races_0_-DCC_HAVE_ASM_GOTO_-Wframe-larger-than_2048_-fstack-protector-strong_-Wno-unused-but-set-variable_-Wno-unused-const-variable_-fno-var-tracking-assignments_-g_-pg_-mfentry_-DCC_USING_FENTRY_-Wdeclaration-after-statement_-Wno-pointer-sign_-fno-strict-overflow_-fno-stack-check_-fconserve-stack_-Werror_implicit-int_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-Werror_implicit-int";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -Werror=implicit-int
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-nostdinc_-isystem_/usr/lib/gcc/x86_64-linux-gnu/7/include_-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2_--param_allow-store-data-races_0_-DCC_HAVE_ASM_GOTO_-Wframe-larger-than_2048_-fstack-protector-strong_-Wno-unused-but-set-variable_-Wno-unused-const-variable_-fno-var-tracking-assignments_-g_-pg_-mfentry_-DCC_USING_FENTRY_-Wdeclaration-after-statement_-Wno-pointer-sign_-fno-strict-overflow_-fno-stack-check_-fconserve-stack_-Werror_implicit-int_-Werror_strict-prototypes_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-Werror_strict-prototypes";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -Werror=strict-prototypes
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-nostdinc_-isystem_/usr/lib/gcc/x86_64-linux-gnu/7/include_-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2_--param_allow-store-data-races_0_-DCC_HAVE_ASM_GOTO_-Wframe-larger-than_2048_-fstack-protector-strong_-Wno-unused-but-set-variable_-Wno-unused-const-variable_-fno-var-tracking-assignments_-g_-pg_-mfentry_-DCC_USING_FENTRY_-Wdeclaration-after-statement_-Wno-pointer-sign_-fno-strict-overflow_-fno-stack-check_-fconserve-stack_-Werror_implicit-int_-Werror_strict-prototypes_-Werror_date-time_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-Werror_date-time";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -Werror=date-time
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-nostdinc_-isystem_/usr/lib/gcc/x86_64-linux-gnu/7/include_-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2_--param_allow-store-data-races_0_-DCC_HAVE_ASM_GOTO_-Wframe-larger-than_2048_-fstack-protector-strong_-Wno-unused-but-set-variable_-Wno-unused-const-variable_-fno-var-tracking-assignments_-g_-pg_-mfentry_-DCC_USING_FENTRY_-Wdeclaration-after-statement_-Wno-pointer-sign_-fno-strict-overflow_-fno-stack-check_-fconserve-stack_-Werror_implicit-int_-Werror_strict-prototypes_-Werror_date-time_-Werror_incompatible-pointer-types_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-Werror_incompatible-pointer-types";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -Werror=incompatible-pointer-types
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if_____gcc-7_-Werror___-nostdinc_-isystem_/usr/lib/gcc/x86_64-linux-gnu/7/include_-D__KERNEL___-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2_--param_allow-store-data-races_0_-DCC_HAVE_ASM_GOTO_-Wframe-larger-than_2048_-fstack-protector-strong_-Wno-unused-but-set-variable_-Wno-unused-const-variable_-fno-var-tracking-assignments_-g_-pg_-mfentry_-DCC_USING_FENTRY_-Wdeclaration-after-statement_-Wno-pointer-sign_-fno-strict-overflow_-fno-stack-check_-fconserve-stack_-Werror_implicit-int_-Werror_strict-prototypes_-Werror_date-time_-Werror_incompatible-pointer-types_-Werror_designated-init_-c_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"-Werror_designated-init";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -Werror=designated-init
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if___ar_rcD_"_TMP"__>/dev/null_2>&1;_then_echo_"D";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := D
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if____gcc-7__-Wl_--build-id_-D__KERNEL_____-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2_--param_allow-store-data-races_0_-DCC_HAVE_ASM_GOTO_-Wframe-larger-than_2048_-fstack-protector-strong_-Wno-unused-but-set-variable_-Wno-unused-const-variable_-fno-var-tracking-assignments_-g_-pg_-mfentry_-DCC_USING_FENTRY_-Wdeclaration-after-statement_-Wno-pointer-sign_-fno-strict-overflow_-fno-stack-check_-fconserve-stack_-Werror_implicit-int_-Werror_strict-prototypes_-Werror_date-time_-Werror_incompatible-pointer-types_-Werror_designated-init_-nostdlib_-x_c_/dev/null_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"_-Wl_--build-id";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -Wl,--build-id
__cached_set_-e;_TMP_"/root/Downloads/rtl8812au/.__.tmp";_TMPO_"/root/Downloads/rtl8812au/.__.o";_if____gcc-7__-nostdinc_-isystem_/usr/lib/gcc/x86_64-linux-gnu/7/include_-D__KERNEL_____-Wall_-Wundef_-Wstrict-prototypes_-Wno-trigraphs_-fno-strict-aliasing_-fno-common_-fshort-wchar_-Werror-implicit-function-declaration_-Wno-format-security_-std_gnu89_-fno-PIE_-mno-sse_-mno-mmx_-mno-sse2_-mno-3dnow_-mno-avx_-m64_-falign-jumps_1_-falign-loops_1_-mno-80387_-mno-fp-ret-in-387_-mpreferred-stack-boundary_3_-mskip-rax-setup_-mtune_generic_-mno-red-zone_-mcmodel_kernel_-funit-at-a-time_-DCONFIG_X86_X32_ABI_-DCONFIG_AS_CFI_1_-DCONFIG_AS_CFI_SIGNAL_FRAME_1_-DCONFIG_AS_CFI_SECTIONS_1_-DCONFIG_AS_FXSAVEQ_1_-DCONFIG_AS_SSSE3_1_-DCONFIG_AS_CRC32_1_-DCONFIG_AS_AVX_1_-DCONFIG_AS_AVX2_1_-DCONFIG_AS_AVX512_1_-DCONFIG_AS_SHA1_NI_1_-DCONFIG_AS_SHA256_NI_1_-pipe_-Wno-sign-compare_-fno-asynchronous-unwind-tables_-mindirect-branch_thunk-extern_-mindirect-branch-register_-DRETPOLINE_-fno-delete-null-pointer-checks_-Wno-frame-address_-Wno-format-truncation_-Wno-format-overflow_-Wno-int-in-bool-context_-O2_--param_allow-store-data-races_0_-DCC_HAVE_ASM_GOTO_-Wframe-larger-than_2048_-fstack-protector-strong_-Wno-unused-but-set-variable_-Wno-unused-const-variable_-fno-var-tracking-assignments_-g_-pg_-mfentry_-DCC_USING_FENTRY_-Wdeclaration-after-statement_-Wno-pointer-sign_-fno-strict-overflow_-fno-stack-check_-fconserve-stack_-Werror_implicit-int_-Werror_strict-prototypes_-Werror_date-time_-Werror_incompatible-pointer-types_-Werror_designated-init_-x_c_/dev/null_-c_-o_"_TMPO";_ld_-m_elf_x86_64__-X_"_TMPO"_-o_"_TMP"__>/dev/null_2>&1;_then_echo_"_-X";_else_echo_"";_fi;_rm_-f_"_TMP"_"_TMPO" := -X
__cached_/bin/bash_/usr/src/linux-headers-4.15.0-kali1-common/scripts/gcc-version.sh__gcc-7__-nostdinc_-isystem_/usr/lib/gcc/x86_64-linux-gnu/7/include := 0703

0
hal/btc/HalBtc8703b2Ant.c Executable file → Normal file
View File

0
hal/btc/HalBtc8703b2Ant.h Executable file → Normal file
View File

View File

@ -76,15 +76,13 @@ ODM_PWdB_Conversion(
s4Byte Y, integer = 0, decimal = 0; s4Byte Y, integer = 0, decimal = 0;
u4Byte i; u4Byte i;
if(X == 0) if (X == 0)
X = 1; // log2(x), x can't be 0 X = 1; // log2(x), x can't be 0
for(i = (TotalBit-1); i > 0; i--) for (i = (TotalBit-1); i > 0; i--) {
{ if (X & BIT(i)) {
if(X & BIT(i))
{
integer = i; integer = i;
if(i > 0) if (i > 0)
decimal = (X & BIT(i-1))?2:0; //decimal is 0.5dB*3=1.5dB~=2dB decimal = (X & BIT(i-1))?2:0; //decimal is 0.5dB*3=1.5dB~=2dB
break; break;
} }
@ -101,7 +99,7 @@ ODM_SignConversion(
IN u4Byte TotalBit IN u4Byte TotalBit
) )
{ {
if(value&BIT(TotalBit-1)) if (value&BIT(TotalBit-1))
value -= BIT(TotalBit); value -= BIT(TotalBit);
return value; return value;
} }
@ -460,8 +458,7 @@ phydm_Init_cck_setting(
pDM_Odm->bCckHighPower = (BOOLEAN) ODM_GetBBReg(pDM_Odm, ODM_REG(CCK_RPT_FORMAT,pDM_Odm), ODM_BIT(CCK_RPT_FORMAT,pDM_Odm)); pDM_Odm->bCckHighPower = (BOOLEAN) ODM_GetBBReg(pDM_Odm, ODM_REG(CCK_RPT_FORMAT,pDM_Odm), ODM_BIT(CCK_RPT_FORMAT,pDM_Odm));
#if (RTL8192E_SUPPORT == 1) #if (RTL8192E_SUPPORT == 1)
if(pDM_Odm->SupportICType & (ODM_RTL8192E)) if (pDM_Odm->SupportICType & (ODM_RTL8192E)) {
{
#if (DM_ODM_SUPPORT_TYPE == ODM_WIN) #if (DM_ODM_SUPPORT_TYPE == ODM_WIN)
phydm_config_cck_rx_antenna_init(pDM_Odm); phydm_config_cck_rx_antenna_init(pDM_Odm);
phydm_config_cck_rx_path(pDM_Odm, PHYDM_A, CCA_PATHDIV_DISABLE); phydm_config_cck_rx_path(pDM_Odm, PHYDM_A, CCA_PATHDIV_DISABLE);
@ -471,8 +468,7 @@ phydm_Init_cck_setting(
value_824 = ODM_GetBBReg(pDM_Odm, 0x824, BIT9); value_824 = ODM_GetBBReg(pDM_Odm, 0x824, BIT9);
value_82c = ODM_GetBBReg(pDM_Odm, 0x82c, BIT9); value_82c = ODM_GetBBReg(pDM_Odm, 0x82c, BIT9);
if(value_824 != value_82c) if (value_824 != value_82c) {
{
ODM_SetBBReg(pDM_Odm, 0x82c , BIT9, value_824); ODM_SetBBReg(pDM_Odm, 0x82c , BIT9, value_824);
} }
ODM_SetBBReg(pDM_Odm, 0xa80 , BIT7, value_824); ODM_SetBBReg(pDM_Odm, 0xa80 , BIT7, value_824);
@ -602,8 +598,7 @@ odm_CommonInfoSelfUpdate(
/* THis variable cannot be used because it is wrong*/ /* THis variable cannot be used because it is wrong*/
#if (DM_ODM_SUPPORT_TYPE == ODM_AP) #if (DM_ODM_SUPPORT_TYPE == ODM_AP)
if (*(pDM_Odm->pBandWidth) == ODM_BW40M) if (*(pDM_Odm->pBandWidth) == ODM_BW40M) {
{
if (*(pDM_Odm->pSecChOffset) == 1) if (*(pDM_Odm->pSecChOffset) == 1)
pDM_Odm->ControlChannel = *(pDM_Odm->pChannel) + 2; pDM_Odm->ControlChannel = *(pDM_Odm->pChannel) + 2;
else if (*(pDM_Odm->pSecChOffset) == 2) else if (*(pDM_Odm->pSecChOffset) == 2)
@ -625,14 +620,11 @@ odm_CommonInfoSelfUpdate(
pDM_Odm->ControlChannel = *(pDM_Odm->pChannel); pDM_Odm->ControlChannel = *(pDM_Odm->pChannel);
#endif #endif
for (i=0; i<ODM_ASSOCIATE_ENTRY_NUM; i++) for (i=0; i<ODM_ASSOCIATE_ENTRY_NUM; i++) {
{
pEntry = pDM_Odm->pODM_StaInfo[i]; pEntry = pDM_Odm->pODM_StaInfo[i];
if(IS_STA_VALID(pEntry)) if (IS_STA_VALID(pEntry)) {
{
EntryCnt++; EntryCnt++;
if(EntryCnt==1) if (EntryCnt==1) {
{
OneEntry_MACID=i; OneEntry_MACID=i;
} }
@ -647,8 +639,7 @@ odm_CommonInfoSelfUpdate(
} }
} }
if(EntryCnt == 1) if (EntryCnt == 1) {
{
pDM_Odm->bOneEntryOnly = TRUE; pDM_Odm->bOneEntryOnly = TRUE;
pDM_Odm->OneEntry_MACID=OneEntry_MACID; pDM_Odm->OneEntry_MACID=OneEntry_MACID;
} }
@ -732,7 +723,7 @@ odm_HWSetting(
) )
{ {
#if (RTL8821A_SUPPORT == 1) #if (RTL8821A_SUPPORT == 1)
if(pDM_Odm->SupportICType & ODM_RTL8821) if (pDM_Odm->SupportICType & ODM_RTL8821)
odm_HWSetting_8821A(pDM_Odm); odm_HWSetting_8821A(pDM_Odm);
#endif #endif
@ -784,13 +775,11 @@ ODM_DMInit(
} }
#endif #endif
if(pDM_Odm->SupportICType & ODM_IC_11N_SERIES) if (pDM_Odm->SupportICType & ODM_IC_11N_SERIES) {
{
odm_DynamicBBPowerSavingInit(pDM_Odm); odm_DynamicBBPowerSavingInit(pDM_Odm);
#if (RTL8188E_SUPPORT == 1) #if (RTL8188E_SUPPORT == 1)
if(pDM_Odm->SupportICType==ODM_RTL8188E) if (pDM_Odm->SupportICType==ODM_RTL8188E) {
{
ODM_PrimaryCCA_Init(pDM_Odm); ODM_PrimaryCCA_Init(pDM_Odm);
ODM_RAInfo_Init_all(pDM_Odm); ODM_RAInfo_Init_all(pDM_Odm);
} }
@ -799,12 +788,12 @@ ODM_DMInit(
#if (DM_ODM_SUPPORT_TYPE & (ODM_WIN|ODM_CE)) #if (DM_ODM_SUPPORT_TYPE & (ODM_WIN|ODM_CE))
#if (RTL8723B_SUPPORT == 1) #if (RTL8723B_SUPPORT == 1)
if(pDM_Odm->SupportICType == ODM_RTL8723B) if (pDM_Odm->SupportICType == ODM_RTL8723B)
odm_SwAntDetectInit(pDM_Odm); odm_SwAntDetectInit(pDM_Odm);
#endif #endif
#if (RTL8192E_SUPPORT == 1) #if (RTL8192E_SUPPORT == 1)
if(pDM_Odm->SupportICType==ODM_RTL8192E) if (pDM_Odm->SupportICType==ODM_RTL8192E)
odm_PrimaryCCA_Check_Init(pDM_Odm); odm_PrimaryCCA_Check_Init(pDM_Odm);
#endif #endif
@ -842,8 +831,7 @@ phydm_support_ability_debug(
pre_support_ability = pDM_Odm->SupportAbility ; pre_support_ability = pDM_Odm->SupportAbility ;
PHYDM_SNPRINTF((output+used, out_len-used,"\n%s\n", "================================")); PHYDM_SNPRINTF((output+used, out_len-used,"\n%s\n", "================================"));
if(dm_value[0] == 100) if (dm_value[0] == 100) {
{
PHYDM_SNPRINTF((output+used, out_len-used, "[Supportability] PhyDM Selection\n")); PHYDM_SNPRINTF((output+used, out_len-used, "[Supportability] PhyDM Selection\n"));
PHYDM_SNPRINTF((output+used, out_len-used,"%s\n", "================================")); PHYDM_SNPRINTF((output+used, out_len-used,"%s\n", "================================"));
PHYDM_SNPRINTF((output+used, out_len-used, "00. (( %s ))DIG\n", ((pDM_Odm->SupportAbility & ODM_BB_DIG)?("V"):(".")))); PHYDM_SNPRINTF((output+used, out_len-used, "00. (( %s ))DIG\n", ((pDM_Odm->SupportAbility & ODM_BB_DIG)?("V"):("."))));
@ -877,23 +865,17 @@ phydm_support_ability_debug(
PHYDM_SNPRINTF((output+used, out_len-used,"%s\n", "Disable all SupportAbility components")); PHYDM_SNPRINTF((output+used, out_len-used,"%s\n", "Disable all SupportAbility components"));
} }
*/ */
else else {
{
if(dm_value[1] == 1) //enable if (dm_value[1] == 1) { //enable
{
pDM_Odm->SupportAbility |= BIT(dm_value[0]) ; pDM_Odm->SupportAbility |= BIT(dm_value[0]) ;
if(BIT(dm_value[0]) & ODM_BB_PATH_DIV) if (BIT(dm_value[0]) & ODM_BB_PATH_DIV) {
{
odm_PathDiversityInit(pDM_Odm); odm_PathDiversityInit(pDM_Odm);
} }
} }
else if(dm_value[1] == 2) //disable else if (dm_value[1] == 2) { //disable
{
pDM_Odm->SupportAbility &= ~(BIT(dm_value[0])) ; pDM_Odm->SupportAbility &= ~(BIT(dm_value[0])) ;
} } else {
else
{
//DbgPrint("\n[Warning!!!] 1:enable, 2:disable \n\n"); //DbgPrint("\n[Warning!!!] 1:enable, 2:disable \n\n");
PHYDM_SNPRINTF((output+used, out_len-used,"%s\n", "[Warning!!!] 1:enable, 2:disable")); PHYDM_SNPRINTF((output+used, out_len-used,"%s\n", "[Warning!!!] 1:enable, 2:disable"));
} }
@ -919,7 +901,7 @@ ODM_DMWatchdog_LPS(
odm_CCKPacketDetectionThresh(pDM_Odm); odm_CCKPacketDetectionThresh(pDM_Odm);
odm_CommonInfoSelfReset(pDM_Odm); odm_CommonInfoSelfReset(pDM_Odm);
if(*(pDM_Odm->pbPowerSaving)==TRUE) if (*(pDM_Odm->pbPowerSaving)==TRUE)
return; return;
} }
#endif #endif
@ -940,7 +922,7 @@ ODM_DMWatchdog(
#if (DM_ODM_SUPPORT_TYPE == ODM_AP) #if (DM_ODM_SUPPORT_TYPE == ODM_AP)
{ {
prtl8192cd_priv priv = pDM_Odm->priv; prtl8192cd_priv priv = pDM_Odm->priv;
if( (priv->auto_channel != 0) && (priv->auto_channel != 2) )//if ACS running, do not do FA/CCA counter read if ( (priv->auto_channel != 0) && (priv->auto_channel != 2) )//if ACS running, do not do FA/CCA counter read
return; return;
} }
#endif #endif
@ -949,8 +931,7 @@ ODM_DMWatchdog(
odm_RSSIMonitorCheck(pDM_Odm); odm_RSSIMonitorCheck(pDM_Odm);
if(*(pDM_Odm->pbPowerSaving) == TRUE) if (*(pDM_Odm->pbPowerSaving) == TRUE) {
{
odm_DIGbyRSSI_LPS(pDM_Odm); odm_DIGbyRSSI_LPS(pDM_Odm);
{ {
pDIG_T pDM_DigTable = &pDM_Odm->DM_DigTable; pDIG_T pDM_DigTable = &pDM_Odm->DM_DigTable;
@ -984,8 +965,7 @@ ODM_DMWatchdog(
phydm_rf_watchdog(pDM_Odm); phydm_rf_watchdog(pDM_Odm);
if(pDM_Odm->SupportICType & ODM_IC_11N_SERIES) if (pDM_Odm->SupportICType & ODM_IC_11N_SERIES) {
{
#if (RTL8188E_SUPPORT == 1) #if (RTL8188E_SUPPORT == 1)
if (pDM_Odm->SupportICType == ODM_RTL8188E) if (pDM_Odm->SupportICType == ODM_RTL8188E)
@ -995,7 +975,7 @@ ODM_DMWatchdog(
#if( DM_ODM_SUPPORT_TYPE & (ODM_WIN|ODM_CE)) #if( DM_ODM_SUPPORT_TYPE & (ODM_WIN|ODM_CE))
#if (RTL8192E_SUPPORT == 1) #if (RTL8192E_SUPPORT == 1)
if(pDM_Odm->SupportICType==ODM_RTL8192E) if (pDM_Odm->SupportICType==ODM_RTL8192E)
odm_DynamicPrimaryCCA_Check(pDM_Odm); odm_DynamicPrimaryCCA_Check(pDM_Odm);
#endif #endif
#endif #endif
@ -1941,8 +1921,7 @@ ODM_CheckPowerStatus(
PMGNT_INFO pMgntInfo = &(Adapter->MgntInfo); PMGNT_INFO pMgntInfo = &(Adapter->MgntInfo);
// 2011/07/27 MH We are not testing ready~~!! We may fail to get correct value when init sequence. // 2011/07/27 MH We are not testing ready~~!! We may fail to get correct value when init sequence.
if (pMgntInfo->init_adpt_in_progress == TRUE) if (pMgntInfo->init_adpt_in_progress == TRUE) {
{
ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_LOUD, ("ODM_CheckPowerStatus Return TRUE, due to initadapter\n")); ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_LOUD, ("ODM_CheckPowerStatus Return TRUE, due to initadapter\n"));
return TRUE; return TRUE;
} }
@ -1951,8 +1930,7 @@ ODM_CheckPowerStatus(
// 2011/07/19 MH We can not execute tx pwoer tracking/ LLC calibrate or IQK. // 2011/07/19 MH We can not execute tx pwoer tracking/ LLC calibrate or IQK.
// //
Adapter->HalFunc.GetHwRegHandler(Adapter, HW_VAR_RF_STATE, (pu1Byte)(&rtState)); Adapter->HalFunc.GetHwRegHandler(Adapter, HW_VAR_RF_STATE, (pu1Byte)(&rtState));
if(Adapter->bDriverStopped || Adapter->bDriverIsGoingToPnpSetPowerSleep || rtState == eRfOff) if (Adapter->bDriverStopped || Adapter->bDriverIsGoingToPnpSetPowerSleep || rtState == eRfOff) {
{
ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_LOUD, ("ODM_CheckPowerStatus Return FALSE, due to %d/%d/%d\n", ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_LOUD, ("ODM_CheckPowerStatus Return FALSE, due to %d/%d/%d\n",
Adapter->bDriverStopped, Adapter->bDriverIsGoingToPnpSetPowerSleep, rtState)); Adapter->bDriverStopped, Adapter->bDriverIsGoingToPnpSetPowerSleep, rtState));
return FALSE; return FALSE;
@ -2048,23 +2026,18 @@ odm_ConvertTo_dB(
Value = Value & 0xFFFF; Value = Value & 0xFFFF;
for (i = 0; i < 12; i++) for (i = 0; i < 12; i++) {
{ if (Value <= dB_Invert_Table[i][7]) {
if (Value <= dB_Invert_Table[i][7])
{
break; break;
} }
} }
if (i >= 12) if (i >= 12) {
{
return (96); // maximum 96 dB return (96); // maximum 96 dB
} }
for (j = 0; j < 8; j++) for (j = 0; j < 8; j++) {
{ if (Value <= dB_Invert_Table[i][j]) {
if (Value <= dB_Invert_Table[i][j])
{
break; break;
} }
} }
@ -2118,16 +2091,14 @@ ODM_AsocEntry_Init(
pLoopAdapter = GetNextExtAdapter(pLoopAdapter); pLoopAdapter = GetNextExtAdapter(pLoopAdapter);
TotalAssocEntryNum +=1; TotalAssocEntryNum +=1;
while(pLoopAdapter) while (pLoopAdapter) {
{ for (index = 0; index <ASSOCIATE_ENTRY_NUM; index++) {
for (index = 0; index <ASSOCIATE_ENTRY_NUM; index++)
{
ODM_CmnInfoPtrArrayHook(pDM_OutSrc, ODM_CMNINFO_STA_STATUS, TotalAssocEntryNum+index, &pLoopAdapter->MgntInfo.AsocEntry[index]); ODM_CmnInfoPtrArrayHook(pDM_OutSrc, ODM_CMNINFO_STA_STATUS, TotalAssocEntryNum+index, &pLoopAdapter->MgntInfo.AsocEntry[index]);
pLoopAdapter->MgntInfo.AsocEntry[index].MultiPortStationIdx = TotalAssocEntryNum+index; pLoopAdapter->MgntInfo.AsocEntry[index].MultiPortStationIdx = TotalAssocEntryNum+index;
} }
TotalAssocEntryNum+= index; TotalAssocEntryNum+= index;
if(IS_HARDWARE_TYPE_8188E((pDM_Odm->Adapter))) if (IS_HARDWARE_TYPE_8188E((pDM_Odm->Adapter)))
pLoopAdapter->RASupport = TRUE; pLoopAdapter->RASupport = TRUE;
adaptercount += 1; adaptercount += 1;
RT_TRACE(COMP_INIT, DBG_LOUD, ("adaptercount=%d\n", adaptercount)); RT_TRACE(COMP_INIT, DBG_LOUD, ("adaptercount=%d\n", adaptercount));
@ -2191,8 +2162,7 @@ void odm_dtc(PDM_ODM_T pDM_Odm)
if (DTC_BASE < pDM_Odm->RSSI_Min) { if (DTC_BASE < pDM_Odm->RSSI_Min) {
/* need to decade the CTS TX power */ /* need to decade the CTS TX power */
sign = 1; sign = 1;
for (i=0;i<ARRAY_SIZE(dtc_table_down);i++) for (i=0;i<ARRAY_SIZE(dtc_table_down);i++) {
{
if ((dtc_table_down[i] >= pDM_Odm->RSSI_Min) || (dtc_steps >= 6)) if ((dtc_table_down[i] >= pDM_Odm->RSSI_Min) || (dtc_steps >= 6))
break; break;
else else
@ -2200,13 +2170,11 @@ void odm_dtc(PDM_ODM_T pDM_Odm)
} }
} }
#if 0 #if 0
else if (DTC_DWN_BASE > pDM_Odm->RSSI_Min) else if (DTC_DWN_BASE > pDM_Odm->RSSI_Min) {
{
/* needs to increase the CTS TX power */ /* needs to increase the CTS TX power */
sign = 0; sign = 0;
dtc_steps = 1; dtc_steps = 1;
for (i=0;i<ARRAY_SIZE(dtc_table_up);i++) for (i=0;i<ARRAY_SIZE(dtc_table_up);i++) {
{
if ((dtc_table_up[i] <= pDM_Odm->RSSI_Min) || (dtc_steps>=10)) if ((dtc_table_up[i] <= pDM_Odm->RSSI_Min) || (dtc_steps>=10))
break; break;
else else
@ -2241,21 +2209,19 @@ odm_UpdatePowerTrainingState(
pDIG_T pDM_DigTable = &pDM_Odm->DM_DigTable; pDIG_T pDM_DigTable = &pDM_Odm->DM_DigTable;
u4Byte score = 0; u4Byte score = 0;
if(!(pDM_Odm->SupportAbility & ODM_BB_PWR_TRAIN)) if (!(pDM_Odm->SupportAbility & ODM_BB_PWR_TRAIN))
return; return;
ODM_RT_TRACE(pDM_Odm,ODM_COMP_RA_MASK, ODM_DBG_LOUD,("odm_UpdatePowerTrainingState()============>\n")); ODM_RT_TRACE(pDM_Odm,ODM_COMP_RA_MASK, ODM_DBG_LOUD,("odm_UpdatePowerTrainingState()============>\n"));
pDM_Odm->bChangeState = FALSE; pDM_Odm->bChangeState = FALSE;
// Debug command // Debug command
if(pDM_Odm->ForcePowerTrainingState) if (pDM_Odm->ForcePowerTrainingState) {
{ if (pDM_Odm->ForcePowerTrainingState == 1 && !pDM_Odm->bDisablePowerTraining) {
if(pDM_Odm->ForcePowerTrainingState == 1 && !pDM_Odm->bDisablePowerTraining)
{
pDM_Odm->bChangeState = TRUE; pDM_Odm->bChangeState = TRUE;
pDM_Odm->bDisablePowerTraining = TRUE; pDM_Odm->bDisablePowerTraining = TRUE;
} }
else if(pDM_Odm->ForcePowerTrainingState == 2 && pDM_Odm->bDisablePowerTraining) else if (pDM_Odm->ForcePowerTrainingState == 2 && pDM_Odm->bDisablePowerTraining)
{ {
pDM_Odm->bChangeState = TRUE; pDM_Odm->bChangeState = TRUE;
pDM_Odm->bDisablePowerTraining = FALSE; pDM_Odm->bDisablePowerTraining = FALSE;
@ -2269,12 +2235,11 @@ odm_UpdatePowerTrainingState(
return; return;
} }
if(!pDM_Odm->bLinked) if (!pDM_Odm->bLinked)
return; return;
// First connect // First connect
if((pDM_Odm->bLinked) && (pDM_DigTable->bMediaConnect_0 == FALSE)) if ((pDM_Odm->bLinked) && (pDM_DigTable->bMediaConnect_0 == FALSE)) {
{
pDM_Odm->PT_score = 0; pDM_Odm->PT_score = 0;
pDM_Odm->bChangeState = TRUE; pDM_Odm->bChangeState = TRUE;
pDM_Odm->PhyDbgInfo.NumQryPhyStatusOFDM = 0; pDM_Odm->PhyDbgInfo.NumQryPhyStatusOFDM = 0;
@ -2284,21 +2249,19 @@ odm_UpdatePowerTrainingState(
} }
// Compute score // Compute score
if(pDM_Odm->NHM_cnt_0 >= 215) if (pDM_Odm->NHM_cnt_0 >= 215)
score = 2; score = 2;
else if(pDM_Odm->NHM_cnt_0 >= 190) else if (pDM_Odm->NHM_cnt_0 >= 190)
score = 1; // unknow state score = 1; // unknow state
else else {
{
u4Byte RX_Pkt_Cnt; u4Byte RX_Pkt_Cnt;
RX_Pkt_Cnt = (u4Byte)(pDM_Odm->PhyDbgInfo.NumQryPhyStatusOFDM) + (u4Byte)(pDM_Odm->PhyDbgInfo.NumQryPhyStatusCCK); RX_Pkt_Cnt = (u4Byte)(pDM_Odm->PhyDbgInfo.NumQryPhyStatusOFDM) + (u4Byte)(pDM_Odm->PhyDbgInfo.NumQryPhyStatusCCK);
if((FalseAlmCnt->Cnt_CCA_all > 31 && RX_Pkt_Cnt > 31) && (FalseAlmCnt->Cnt_CCA_all >= RX_Pkt_Cnt)) if ((FalseAlmCnt->Cnt_CCA_all > 31 && RX_Pkt_Cnt > 31) && (FalseAlmCnt->Cnt_CCA_all >= RX_Pkt_Cnt)) {
{ if ((RX_Pkt_Cnt + (RX_Pkt_Cnt >> 1)) <= FalseAlmCnt->Cnt_CCA_all)
if((RX_Pkt_Cnt + (RX_Pkt_Cnt >> 1)) <= FalseAlmCnt->Cnt_CCA_all)
score = 0; score = 0;
else if((RX_Pkt_Cnt + (RX_Pkt_Cnt >> 2)) <= FalseAlmCnt->Cnt_CCA_all) else if ((RX_Pkt_Cnt + (RX_Pkt_Cnt >> 2)) <= FalseAlmCnt->Cnt_CCA_all)
score = 1; score = 1;
else else
score = 2; score = 2;
@ -2318,20 +2281,16 @@ odm_UpdatePowerTrainingState(
pDM_Odm->PT_score, score)); pDM_Odm->PT_score, score));
// Mode decision // Mode decision
if(score == 2) if (score == 2) {
{ if (pDM_Odm->bDisablePowerTraining) {
if(pDM_Odm->bDisablePowerTraining)
{
pDM_Odm->bChangeState = TRUE; pDM_Odm->bChangeState = TRUE;
pDM_Odm->bDisablePowerTraining = FALSE; pDM_Odm->bDisablePowerTraining = FALSE;
ODM_RT_TRACE(pDM_Odm,ODM_COMP_RA_MASK, ODM_DBG_LOUD,("odm_UpdatePowerTrainingState(): Change state\n")); ODM_RT_TRACE(pDM_Odm,ODM_COMP_RA_MASK, ODM_DBG_LOUD,("odm_UpdatePowerTrainingState(): Change state\n"));
} }
ODM_RT_TRACE(pDM_Odm,ODM_COMP_RA_MASK, ODM_DBG_LOUD,("odm_UpdatePowerTrainingState(): Enable Power Training\n")); ODM_RT_TRACE(pDM_Odm,ODM_COMP_RA_MASK, ODM_DBG_LOUD,("odm_UpdatePowerTrainingState(): Enable Power Training\n"));
} }
else if(score == 0) else if (score == 0) {
{ if (!pDM_Odm->bDisablePowerTraining) {
if(!pDM_Odm->bDisablePowerTraining)
{
pDM_Odm->bChangeState = TRUE; pDM_Odm->bChangeState = TRUE;
pDM_Odm->bDisablePowerTraining = TRUE; pDM_Odm->bDisablePowerTraining = TRUE;
ODM_RT_TRACE(pDM_Odm,ODM_COMP_RA_MASK, ODM_DBG_LOUD,("odm_UpdatePowerTrainingState(): Change state\n")); ODM_RT_TRACE(pDM_Odm,ODM_COMP_RA_MASK, ODM_DBG_LOUD,("odm_UpdatePowerTrainingState(): Change state\n"));
@ -2406,10 +2365,8 @@ phydm_NoisyDetection(
else if( Total_FA_Cnt*16>=Total_CCA_Cnt*1 ) // 6.25% else if( Total_FA_Cnt*16>=Total_CCA_Cnt*1 ) // 6.25%
*/ */
for(i=0;i<=16;i++) for (i=0;i<=16;i++) {
{ if ( Total_FA_Cnt*16>=Total_CCA_Cnt*(16-i) ) {
if( Total_FA_Cnt*16>=Total_CCA_Cnt*(16-i) )
{
Score = 16-i; Score = 16-i;
break; break;
} }

0
hal/phydm/phydm_rxhp.c Executable file → Normal file
View File

0
hal/phydm/phydm_rxhp.h Executable file → Normal file
View File

View File

@ -475,7 +475,3 @@ static RT_CHANNEL_PLAN_NEW RtChnlPlan[] =
}; };
#endif #endif

View File

@ -693,7 +693,3 @@ typedef struct _RT_CHANNEL_PLAN_NEW
#endif // __RT_CHANNELPLAN_H__ #endif // __RT_CHANNELPLAN_H__

View File

@ -309,7 +309,6 @@
#endif /* !CONFIG_BT_COEXIST */ #endif /* !CONFIG_BT_COEXIST */
#ifdef CONFIG_USB_TX_AGGREGATION #ifdef CONFIG_USB_TX_AGGREGATION
/* #define CONFIG_TX_EARLY_MODE */ /* #define CONFIG_TX_EARLY_MODE */
#endif #endif
@ -347,12 +346,11 @@
/* #define DBG_RX_SIGNAL_DISPLAY_SSID_MONITORED "jeff-ap" */ /* #define DBG_RX_SIGNAL_DISPLAY_SSID_MONITORED "jeff-ap" */
/* #define DBG_SHOW_MCUFWDL_BEFORE_51_ENABLE */ /* #define DBG_SHOW_MCUFWDL_BEFORE_51_ENABLE */
/* #define DBG_ROAMING_TEST */ /* #define DBG_ROAMING_TEST */
/* #define DBG_HAL_INIT_PROFILING */ /* #define DBG_HAL_INIT_PROFILING */
/*#define DBG_MEMORY_LEAK*/ /* #define DBG_MEMORY_LEAK*/
#define DBG_RX_DFRAME_RAW_DATA #define DBG_RX_DFRAME_RAW_DATA
#define CONFIG_USE_EXTERNAL_POWER /* NOT USB2.0 power, so no 500mA power constraint, no limitation in Power by Rate */ /* #define CONFIG_USE_EXTERNAL_POWER */ /* NOT USB2.0 power, so no 500mA power constraint, no limitation in Power by Rate */

View File

@ -3767,6 +3767,11 @@ static int rtw_cfg80211_add_monitor_if(_adapter *padapter, char *name, struct ne
mon_wdev->iftype = NL80211_IFTYPE_MONITOR; mon_wdev->iftype = NL80211_IFTYPE_MONITOR;
mon_ndev->ieee80211_ptr = mon_wdev; mon_ndev->ieee80211_ptr = mon_wdev;
SET_NETDEV_DEV(mon_ndev, wiphy_dev(pwdev_priv->rtw_wdev->wiphy));
memcpy(mon_ndev->dev_addr, padapter->pnetdev->dev_addr, ETH_ALEN);
memcpy(mon_ndev->perm_addr, padapter->pnetdev->perm_addr, ETH_ALEN);
ret = register_netdevice(mon_ndev); ret = register_netdevice(mon_ndev);
if (ret) if (ret)
goto out; goto out;