The wsl_bypasser component is designed to bypass the Wi-Fi Stack Libraries (WSL) mechanism that prevents the transmission of certain raw 802.11 frames. It achieves this by overriding the ieee80211_raw_frame_sanity_check function, forcing it to always return a value that permits frame transmission.
To implement this bypass during the build process, the linker flag -Wl,-zmuldefs must be used to allow multiple function definitions, enabling the component to override the default behavior of the Wi-Fi stack.
target_link_libraries(${COMPONENT_LIB} -Wl,-zmuldefs)