Browse Source

qca-wifi: Add command for disabling inactivity probing

Add command support 'disable_fw_inact_probe' to disable
FW probing behavior for the inactive clients.

Change-Id: I79ce595ce8843f8b94f214f4544afd0df15121ab
CRs-fixed: 2781030
Rhythm Patwa 4 years ago
parent
commit
fe93dd862f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tools/linux/cfg80211_ven_cmd.h

+ 3 - 0
tools/linux/cfg80211_ven_cmd.h

@@ -780,6 +780,7 @@ enum {
 #if WLAN_OBJMGR_REF_ID_TRACE
 	IEEE80211_PARAM_VDEV_REF_LEAK_TEST          = 721,
 #endif
+	IEEE80211_PARAM_DISABLE_INACT_PROBING      = 722, /* Disable FW inactivity Probing behavior */
 };
 
 enum {
@@ -2240,6 +2241,8 @@ struct vendor_commands vap_vendor_cmds[] = {
 #if WLAN_OBJMGR_REF_ID_TRACE
 	{"enable_ref_leak",         IEEE80211_PARAM_VDEV_REF_LEAK_TEST, SET_PARAM, 1},
 #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},
 };
 
 struct vendor_commands radio_vendor_cmds[] = {