qcacmn: remove unused fields in dp_peer

Cleanup the unused fields in data path peer

Change-Id: I334389c5f08705df363a88e14db07a3d8e0eb16d
This commit is contained in:
Chaithanya Garrepalli 2019-07-17 19:53:44 +05:30 • committed by nshrivas
commit 4a5189bbbf
2 changed files with 6 additions and 16 deletions

View file

@ -1084,14 +1084,12 @@ static void dp_print_peer_table(struct dp_vdev *vdev)
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]);

View file

@ -1890,21 +1890,13 @@ struct dp_peer {
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;