Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

wifi: cfg80211: Add support for 6GHz AP role not relevant AP type

Add IEEE80211_6GHZ_CTRL_REG_AP_ROLE_NOT_RELEVANT
and map it to IEEE80211_REG_LPI_AP for safe regulatory compliance
when AP role classification is not applicable.
Use LPI as safe fallback to prevent power limit violations.

Signed-off-by: Pagadala Yesu Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20251112110828.856283677cc7.I36138a34847c3b4e680974bf347dde844448f3bc@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

authored by

Pagadala Yesu Anjaneyulu and committed by
Johannes Berg
a77f0ad4 c99ebb61

+2
+1
include/linux/ieee80211-he.h
··· 548 548 #define IEEE80211_6GHZ_CTRL_REG_VLP_AP 2 549 549 #define IEEE80211_6GHZ_CTRL_REG_INDOOR_LPI_AP 3 550 550 #define IEEE80211_6GHZ_CTRL_REG_INDOOR_SP_AP_OLD 4 551 + #define IEEE80211_6GHZ_CTRL_REG_AP_ROLE_NOT_RELEVANT 7 551 552 #define IEEE80211_6GHZ_CTRL_REG_INDOOR_SP_AP 8 552 553 553 554 /**
+1
include/net/cfg80211.h
··· 10148 10148 switch (u8_get_bits(control, IEEE80211_HE_6GHZ_OPER_CTRL_REG_INFO)) { 10149 10149 case IEEE80211_6GHZ_CTRL_REG_LPI_AP: 10150 10150 case IEEE80211_6GHZ_CTRL_REG_INDOOR_LPI_AP: 10151 + case IEEE80211_6GHZ_CTRL_REG_AP_ROLE_NOT_RELEVANT: 10151 10152 return IEEE80211_REG_LPI_AP; 10152 10153 case IEEE80211_6GHZ_CTRL_REG_SP_AP: 10153 10154 case IEEE80211_6GHZ_CTRL_REG_INDOOR_SP_AP_OLD: