RSS Bot Posted July 17, 2023 Posted July 17, 2023 Description The kernel build fails with: [π³|π¨] drivers/net/wireless/rtl88x2bu/os_dep/linux/wifi_regd.c: In function 'rtw_regd_init': [π³|π¨] drivers/net/wireless/rtl88x2bu/os_dep/linux/wifi_regd.c:409:36: error: 'REGULATORY_IGNORE_STALE_KICKOFF' undeclared (first use in this function) [π³|π¨] 409 | wiphy->regulatory_flags |= REGULATORY_IGNORE_STALE_KICKOFF; [π³|π¨] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [π³|π¨] drivers/net/wireless/rtl88x2bu/os_dep/linux/wifi_regd.c:409:36: note: each undeclared identifier is reported only once for each function it appears in [π³|π¨] make[6]: *** [scripts/Makefile.build:252: drivers/net/wireless/rtl88x2bu/os_dep/linux/wifi_regd.o] Error 1 note that this bug only affect >= 6.3.13 < 6.4 and >=6.5-rc1 as of the 16th of July 2023. Cope with the fix in stable 6.3.13 bf353116d1bf and 6.5-rc1 e8c2af660ba0 "wifi: cfg80211: fix regulatory disconnect with OCB/NAN". That is the removal of REGULATORY_IGNORE_STALE_KICKOFF from the wireless regulator internal API to fix any driver that allowed OCB/NAN. This code will need to be expanded once and if 6.4 include the above fixup. Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. Jira reference number [AR-9999] How Has This Been Tested? Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration. [X] Β ./compile.sh kernel BOARD=helios64 BRANCH=edge RELEASE=bookworm BUILD_ONLY="kernel" KERNEL_CONFIGURE=no BUILD_KSRC=no No runtime tested. My hardware is currently in a test so I cannot reboot in the new kernel. Also I do not have this wireless device so I cannot test this driver code works correctly either way. Checklist: [ ] My code follows the style guidelines of this project [X] I have performed a self-review of my own code [ ] I have commented my code, particularly in hard-to-understand areas [ ] I have made corresponding changes to the documentation [X] My changes generate no new warnings [ ] Any dependent changes have been merged and published in downstream modules View the full article
Recommended Posts