Ver Fonte

qca-wifi: Add Puncture Band command support

Add 'puncture_band' commmand support to configure the Punctured band
setting for AP. The command takes a bitmap argument, where each
bit corresponds to a 20MHz band. For instance for AP configured
for 80MHz BW the least 4 bits will be valid bits.

Change-Id: Ic3ce03776477c63af8c1d735a7eacd5aa19dd51f
CRs-fixed: 2749137
Rhythm Patwa há 5 anos atrás
pai
commit
e1333ed1dd
1 ficheiros alterados com 6 adições e 0 exclusões
  1. 6 0
      tools/linux/cfg80211_ven_cmd.h

+ 6 - 0
tools/linux/cfg80211_ven_cmd.h

@@ -1218,6 +1218,8 @@ enum _ol_ath_param_t {
 	/* Support get_call_map() for CBT */
 	OL_ATH_PARAM_FUNC_CALL_MAP = 452,
 #endif
+	/* Configure punctured band setting */
+	OL_ATH_PARAM_PUNCTURED_BAND = 453,
 
 };
 
@@ -3142,6 +3144,10 @@ struct vendor_commands radio_vendor_cmds[] = {
 	{"get_call_map",
 		OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_FUNC_CALL_MAP, SET_PARAM, 1},
 #endif
+	{"puncture_band",
+		OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_PUNCTURED_BAND, SET_PARAM, 1},
+	{"get_puncture_band",
+		OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_PUNCTURED_BAND, GET_PARAM, 0},
 };
 #endif
 #endif