qcacld-3.0: Add support for gStaKeepAliveMethod ini
Currently the ini gStaKeepAliveMethod doesn't support Unsolicited ARP response packets. So, add it. Change-Id: I614e87e7f173ea5c25c34eaf56de0805d37b26a4 CRs-Fixed: 3433020
This commit is contained in:

committed by
Madan Koyyalamudi

parent
430b5d9224
commit
b150d1328c
@@ -494,12 +494,13 @@
|
||||
* <ini>
|
||||
* gStaKeepAliveMethod - Which keepalive method to use
|
||||
* @Min: 1
|
||||
* @Max: 2
|
||||
* @Max: 3
|
||||
* @Default: 1
|
||||
*
|
||||
* This ini determines which keepalive method to use for station interfaces
|
||||
* 1) Use null data packets
|
||||
* 2) Use gratuitous ARP packets
|
||||
* 3) Use unsolicited ARP response packets
|
||||
*
|
||||
* Related: gStaKeepAlivePeriod, gApKeepAlivePeriod, gGoKeepAlivePeriod
|
||||
*
|
||||
@@ -512,7 +513,7 @@
|
||||
#define CFG_STA_KEEPALIVE_METHOD CFG_INI_INT( \
|
||||
"gStaKeepAliveMethod", \
|
||||
MLME_STA_KEEPALIVE_NULL_DATA, \
|
||||
MLME_STA_KEEPALIVE_GRAT_ARP, \
|
||||
MLME_STA_KEEPALIVE_UNSOLICIT_ARP_RSP, \
|
||||
MLME_STA_KEEPALIVE_NULL_DATA, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Which keepalive method to use")
|
||||
|
@@ -1669,12 +1669,14 @@ struct wlan_mlme_nss_chains {
|
||||
* @MLME_STA_KEEPALIVE_MIN: ensure KEEPALIVE_NULL or ARP are not values of 0
|
||||
* @MLME_STA_KEEPALIVE_NULL_DATA: null data packet
|
||||
* @MLME_STA_KEEPALIVE_GRAT_ARP: gratuitous ARP packet
|
||||
* @MLME_STA_KEEPALIVE_UNSOLICIT_ARP_RSP: unsolicited ARP response packet
|
||||
* @MLME_STA_KEEPALIVE_COUNT: number of method options available
|
||||
*/
|
||||
enum station_keepalive_method {
|
||||
MLME_STA_KEEPALIVE_MIN,
|
||||
MLME_STA_KEEPALIVE_NULL_DATA = 1,
|
||||
MLME_STA_KEEPALIVE_GRAT_ARP = 2,
|
||||
MLME_STA_KEEPALIVE_UNSOLICIT_ARP_RSP = 3,
|
||||
/* keep at the end */
|
||||
MLME_STA_KEEPALIVE_COUNT
|
||||
};
|
||||
|
Reference in New Issue
Block a user