|
@@ -1743,6 +1743,11 @@ enum hw_mode_bandwidth policy_mgr_get_bw(enum phy_ch_width chan_width)
|
|
|
case CH_WIDTH_10MHZ:
|
|
|
bw = HW_MODE_10_MHZ;
|
|
|
break;
|
|
|
+#ifdef WLAN_FEATURE_11BE
|
|
|
+ case CH_WIDTH_320MHZ:
|
|
|
+ bw = HW_MODE_320_MHZ;
|
|
|
+ break;
|
|
|
+#endif
|
|
|
default:
|
|
|
policy_mgr_err("Unknown channel BW type %d", chan_width);
|
|
|
break;
|
|
@@ -1777,6 +1782,11 @@ enum phy_ch_width policy_mgr_get_ch_width(enum hw_mode_bandwidth bw)
|
|
|
case HW_MODE_10_MHZ:
|
|
|
ch_width = CH_WIDTH_10MHZ;
|
|
|
break;
|
|
|
+#ifdef WLAN_FEATURE_11BE
|
|
|
+ case HW_MODE_320_MHZ:
|
|
|
+ ch_width = CH_WIDTH_320MHZ;
|
|
|
+ break;
|
|
|
+#endif
|
|
|
default:
|
|
|
policy_mgr_err("Invalid phy_ch_width type %d", ch_width);
|
|
|
break;
|