Explorar o código

Merge "qca-wifi: Add a cfg command for enabling SMPS GAP mode"

Linux Build Service Account %!s(int64=4) %!d(string=hai) anos
pai
achega
4a37c2ed0d
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      tools/linux/cfg80211_ven_cmd.h

+ 3 - 1
tools/linux/cfg80211_ven_cmd.h

@@ -791,6 +791,7 @@ enum {
 #endif
 #endif
 	IEEE80211_PARAM_RTS                        = 728,   /* Vdev specific minimum packet size setting for which RTS/CTS is used */
+	IEEE80211_PARAM_SM_GAP_PS_ENABLE           = 729,   /* Enable SMPS-GAP power saving */
 };
 
 enum {
@@ -2271,9 +2272,10 @@ struct vendor_commands vap_vendor_cmds[] = {
 	{"cm_history", IEEE80211_PARAM_CM_HISTORY, GET_PARAM, 0},
 #endif
 #endif
-
 	{"rts",                       IEEE80211_PARAM_RTS, SET_PARAM, 1},
 	{"get_rts",                   IEEE80211_PARAM_RTS, GET_PARAM, 0},
+	{"sm_gap_ps",                 IEEE80211_PARAM_SM_GAP_PS_ENABLE, SET_PARAM, 1},
+	{"g_sm_gap_ps",               IEEE80211_PARAM_SM_GAP_PS_ENABLE, GET_PARAM, 0},
 };
 
 struct vendor_commands radio_vendor_cmds[] = {