wifi: cfg80211: Add utility for converting op_class into chandef
authorMichael-CY Lee <michael-cy.lee@mediatek.com>
Fri, 22 Dec 2023 01:09:13 +0000 (09:09 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 Feb 2024 14:00:44 +0000 (15:00 +0100)
commit68de13028b94572fc570b7eb1e0e2de1d751fe7e
treec159e529d1eeae5934e5b2c6c4369a98d43b85e7
parentf29a8be886f5dd12b97624a87d6c46e2cf8d1821
wifi: cfg80211: Add utility for converting op_class into chandef

This utility is used in STA CSA handling. The op_class in the ECSA
Element can be converted into chandef.

Co-developed-by: Money Wang <money.wang@mediatek.com>
Signed-off-by: Michael-CY Lee <michael-cy.lee@mediatek.com>
Link: https://msgid.link/20231222010914.6521-2-michael-cy.lee@mediatek.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/util.c