qcacmn: remove unused fields in dp_peer
Cleanup the unused fields in data path peer
Change-Id: I334389c5f08705df363a88e14db07a3d8e0eb16d
diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c
index aef960e..8c39634 100644
--- a/dp/wifi3.0/dp_main.c
+++ b/dp/wifi3.0/dp_main.c
@@ -1084,14 +1084,12 @@
DP_PRINT_STATS(" peer_mac_addr = %pM"
" nawds_enabled = %d"
" bss_peer = %d"
- " wapi = %d"
" wds_enabled = %d"
" delete in progress = %d"
" peer id = %d",
peer->mac_addr.raw,
peer->nawds_enabled,
peer->bss_peer,
- peer->wapi,
peer->wds_enabled,
peer->delete_in_progress,
peer->peer_ids[0]);
diff --git a/dp/wifi3.0/dp_types.h b/dp/wifi3.0/dp_types.h
index 35b6622..0a9c42a 100644
--- a/dp/wifi3.0/dp_types.h
+++ b/dp/wifi3.0/dp_types.h
@@ -1890,21 +1890,13 @@
void (*rx_opt_proc)(struct dp_vdev *vdev, struct dp_peer *peer,
unsigned tid, qdf_nbuf_t msdu_list);
- /* set when node is authorized */
- uint8_t authorize:1;
-
- u_int8_t nac;
-
- /* Band steering: Set when node is inactive */
- uint8_t peer_bs_inact_flag:1;
- u_int16_t peer_bs_inact; /* inactivity mark count */
-
/* NAWDS Flag and Bss Peer bit */
- uint8_t nawds_enabled:1,
- bss_peer:1,
- wapi:1,
- wds_enabled:1,
- valid:1;
+ uint8_t nawds_enabled:1, /* NAWDS flag */
+ bss_peer:1, /* set for bss peer */
+ wds_enabled:1, /* WDS peer */
+ authorize:1, /* Set when authorized */
+ nac:1, /* NAC Peer*/
+ valid:1; /* valid bit */
/* MCL specific peer local id */
uint16_t local_id;