Explorar o código

qca-wifi: Add peer authorization command per vap

peer authorization support per vap

Change-Id: Ie46a3a4a77059524dbcb83ee826beb3b7caf4219
Mainak Sen %!s(int64=4) %!d(string=hai) anos
pai
achega
b9dc91afed
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      tools/linux/cfg80211_ven_cmd.h

+ 3 - 0
tools/linux/cfg80211_ven_cmd.h

@@ -782,6 +782,7 @@ enum {
 #endif
 	IEEE80211_PARAM_DISABLE_INACT_PROBING      = 722, /* Disable FW inactivity Probing behavior */
 	IEEE80211_PARAM_PRB_RETRY                  = 723,   /* Set/Get probe-response frame retry limit */
+	IEEE80211_PARAM_PEER_AUTHORIZE             = 724, /* Enable port authorization */
 };
 
 enum {
@@ -2245,6 +2246,8 @@ struct vendor_commands vap_vendor_cmds[] = {
 #endif
 	{"disable_fw_inact_probe",    IEEE80211_PARAM_DISABLE_INACT_PROBING, SET_PARAM, 1},
 	{"g_disable_fw_inact_probe",  IEEE80211_PARAM_DISABLE_INACT_PROBING, GET_PARAM, 0},
+	{"peer_authorize ",     IEEE80211_PARAM_PEER_AUTHORIZE, SET_PARAM, 1},
+	{"g_peer_authorize ",     IEEE80211_PARAM_PEER_AUTHORIZE, GET_PARAM, 0},
 };
 
 struct vendor_commands radio_vendor_cmds[] = {