Kaynağa Gözat

qcacld-3.0: Rename proxyARPService

The Linux Coding Style frowns upon mixed-case names so rename
proxyARPService to be compliant.

Change-Id: I8ad21c749caabde80fa21fa6800901c20988cfd2
CRs-Fixed: 2409875
Jeff Johnson 6 yıl önce
ebeveyn
işleme
ac5170c4a7

+ 2 - 2
core/hdd/inc/wlan_hdd_assoc.h

@@ -150,7 +150,7 @@ struct hdd_conn_flag {
  * @operationChannel: Operation Channel
  * @uIsAuthenticated: Remembers authenticated state
  * @dot11Mode: dot11Mode
- * @proxyARPService: proxy arp service
+ * @proxy_arp_service: proxy arp service
  * @ptk_installed: ptk installed state
  * @gtk_installed: gtk installed state
  * @nss: number of spatial streams negotiated
@@ -185,7 +185,7 @@ struct hdd_connection_info {
 	uint8_t operationChannel;
 	uint8_t uIsAuthenticated;
 	uint32_t dot11Mode;
-	uint8_t proxyARPService;
+	uint8_t proxy_arp_service;
 	bool ptk_installed;
 	bool gtk_installed;
 	uint8_t nss;

+ 3 - 3
core/hdd/src/wlan_hdd_assoc.c

@@ -1031,8 +1031,8 @@ hdd_conn_save_connect_info(struct hdd_adapter *adapter,
 			sta_ctx->conn_info.dot11Mode =
 				roam_info->u.pConnectedProfile->dot11Mode;
 
-			sta_ctx->conn_info.proxyARPService =
-				roam_info->u.pConnectedProfile->proxyARPService;
+			sta_ctx->conn_info.proxy_arp_service =
+				roam_info->u.pConnectedProfile->proxy_arp_service;
 
 			sta_ctx->conn_info.nss = roam_info->chan_info.nss;
 
@@ -1547,7 +1547,7 @@ static void hdd_conn_remove_connect_info(struct hdd_station_ctx *sta_ctx)
 	qdf_mem_zero(&sta_ctx->conn_info.Keys, sizeof(tCsrKeys));
 	qdf_mem_zero(&sta_ctx->ibss_enc_key, sizeof(tCsrRoamSetKey));
 
-	sta_ctx->conn_info.proxyARPService = 0;
+	sta_ctx->conn_info.proxy_arp_service = 0;
 
 	qdf_mem_zero(&sta_ctx->conn_info.ssid, sizeof(tCsrSSIDInfo));
 }

+ 1 - 1
core/hdd/src/wlan_hdd_tx_rx.c

@@ -2045,7 +2045,7 @@ QDF_STATUS hdd_rx_packet_cbk(void *adapter_context,
 						PKT_TYPE_RSP, &pkt_type);
 
 		sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(adapter);
-		if ((sta_ctx->conn_info.proxyARPService) &&
+		if ((sta_ctx->conn_info.proxy_arp_service) &&
 		    hdd_is_gratuitous_arp_unsolicited_na(skb)) {
 			qdf_atomic_inc(&adapter->hdd_stats.tx_rx_stats.
 						rx_usolict_arp_n_mcast_drp);

+ 1 - 1
core/sme/inc/csr_api.h

@@ -891,7 +891,7 @@ typedef struct tagCsrRoamConnectedProfile {
 	bool isESEAssoc;
 #endif
 	uint32_t dot11Mode;
-	uint8_t proxyARPService;
+	uint8_t proxy_arp_service;
 #ifdef FEATURE_WLAN_MCC_TO_SCC_SWITCH
 	tCsrRoamHTProfile ht_profile;
 #endif

+ 2 - 2
core/sme/src/csr/csr_api_roam.c

@@ -8577,8 +8577,8 @@ QDF_STATUS csr_roam_save_connected_information(struct mac_context *mac,
 		if (pIesTemp->ExtCap.present) {
 			struct s_ext_cap *p_ext_cap = (struct s_ext_cap *)
 							pIesTemp->ExtCap.bytes;
-			pConnectProfile->proxyARPService = p_ext_cap->
-							    proxy_arp_service;
+			pConnectProfile->proxy_arp_service =
+				p_ext_cap->proxy_arp_service;
 		}
 
 		if (NULL == pIes)