]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: 802.11 header updates and add/adjust source dependencies.
authorBjoern A. Zeeb <bz@FreeBSD.org>
Tue, 15 Feb 2022 23:45:15 +0000 (23:45 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Tue, 15 Feb 2022 23:45:15 +0000 (23:45 +0000)
commit2e183d999c6033e876602ddbbc5cb538bb41e4b3
tree7325b01496090367ad2442223375d5a9320d84c9
parent064c110f4b551cbf3f2ef6f567736005c2d7007a
LinuxKPI: 802.11 header updates and add/adjust source dependencies.

This update is for more/newer versions of drivers:
- add and properly place more structs, enums, defines needed by drivers.
- correct types of struct fields.
- make various function arguments const.
- move REG_RULE() macro to its own file regulatory.h and
  use macros for calculations.
- add linuxkpi_ieee80211_get_channel() implementation.
- change linuxkpi_ieee80211_ifattach() to return int for error checking.

No intended functional changes for iwlwifi.

Sponsored by: The FreeBSD Foundation (partially)
MFC after: 3 days
sys/compat/linuxkpi/common/include/linux/ieee80211.h
sys/compat/linuxkpi/common/include/linux/nl80211.h
sys/compat/linuxkpi/common/include/net/cfg80211.h
sys/compat/linuxkpi/common/include/net/mac80211.h
sys/compat/linuxkpi/common/include/net/regulatory.h [new file with mode: 0644]
sys/compat/linuxkpi/common/src/linux_80211.c