|
@@ -181,6 +181,11 @@ struct ieee80211_supported_band {
|
|
* struct wiphy - wireless hardware description
|
|
* struct wiphy - wireless hardware description
|
|
* @idx: the wiphy index assigned to this item
|
|
* @idx: the wiphy index assigned to this item
|
|
* @class_dev: the class device representing /sys/class/ieee80211/<wiphy-name>
|
|
* @class_dev: the class device representing /sys/class/ieee80211/<wiphy-name>
|
|
|
|
+ * @fw_handles_regulatory: tells us the firmware for this device
|
|
|
|
+ * has its own regulatory solution and cannot identify the
|
|
|
|
+ * ISO / IEC 3166 alpha2 it belongs to. When this is enabled
|
|
|
|
+ * we will disregard the first regulatory hint (when the
|
|
|
|
+ * initiator is %REGDOM_SET_BY_CORE).
|
|
* @reg_notifier: the driver's regulatory notification callback
|
|
* @reg_notifier: the driver's regulatory notification callback
|
|
*/
|
|
*/
|
|
struct wiphy {
|
|
struct wiphy {
|
|
@@ -192,6 +197,8 @@ struct wiphy {
|
|
/* Supported interface modes, OR together BIT(NL80211_IFTYPE_...) */
|
|
/* Supported interface modes, OR together BIT(NL80211_IFTYPE_...) */
|
|
u16 interface_modes;
|
|
u16 interface_modes;
|
|
|
|
|
|
|
|
+ bool fw_handles_regulatory;
|
|
|
|
+
|
|
/* If multiple wiphys are registered and you're handed e.g.
|
|
/* If multiple wiphys are registered and you're handed e.g.
|
|
* a regular netdev with assigned ieee80211_ptr, you won't
|
|
* a regular netdev with assigned ieee80211_ptr, you won't
|
|
* know whether it points to a wiphy your driver has registered
|
|
* know whether it points to a wiphy your driver has registered
|