Register IPv4 notifier to notify change in IP.
Detect IPv4 address change during suspend state and reconfigure
the ARP filters to the firmware.
Change-Id: I8df10c6ef1d7be81dfd39ace268474bab6b4b353
CRs-Fixed: 587415
Conflicts:
prima/CORE/HDD/inc/wlan_hdd_power.h
diff --git a/CORE/HDD/inc/wlan_hdd_main.h b/CORE/HDD/inc/wlan_hdd_main.h
index 79149fa..1367813 100644
--- a/CORE/HDD/inc/wlan_hdd_main.h
+++ b/CORE/HDD/inc/wlan_hdd_main.h
@@ -833,6 +833,10 @@
struct work_struct ipv6NotifierWorkQueue;
#endif
+ /** IPv4 notifier callback for handling ARP offload on change in IP */
+ struct notifier_block ipv4_notifier;
+ struct work_struct ipv4NotifierWorkQueue;
+
//TODO Move this to sta Ctx
struct wireless_dev wdev ;
struct cfg80211_scan_request *request ;
@@ -1315,6 +1319,7 @@
int wlan_hdd_validate_context(hdd_context_t *pHddCtx);
v_BOOL_t hdd_is_valid_mac_address(const tANI_U8* pMacAddr);
VOS_STATUS hdd_issta_p2p_clientconnected(hdd_context_t *pHddCtx);
+void hdd_ipv4_notifier_work_queue(struct work_struct *work);
#ifdef WLAN_FEATURE_PACKET_FILTERING
int wlan_hdd_setIPv6Filter(hdd_context_t *pHddCtx, tANI_U8 filterType, tANI_U8 sessionId);
#endif