Forráskód Böngészése

qcacmn: Remove type option from peer config

Remove type option from peer config as host doesn't have to track the
state of peer. State transition between associated and non-associated
peer is seamlessly taken care in FW and no host intervention is
needed.

Change-Id: If85ff68878fb2284ff28ff93320ca009377a90e6
CRs-Fixed: 3221274
Nandha Kishore Easwaran 3 éve
szülő
commit
db03569b0e
1 módosított fájl, 0 hozzáadás és 14 törlés
  1. 0 14
      dp/inc/cdp_txrx_mon_struct.h

+ 0 - 14
dp/inc/cdp_txrx_mon_struct.h

@@ -63,16 +63,6 @@ enum cdp_lite_mon_peer_action {
 	CDP_LITE_MON_PEER_REMOVE = 1,
 };
 
-/* lite mon peer types */
-enum cdp_lite_mon_peer_type {
-	/* associated peer */
-	CDP_LITE_MON_PEER_TYPE_ASSOCIATED = 0,
-	/* non associated peer */
-	CDP_LITE_MON_PEER_TYPE_NON_ASSOCIATED = 1,
-	/* max peer types */
-	CDP_LITE_MON_PEER_TYPE_MAX = 2,
-};
-
 /* lite mon config direction */
 enum cdp_lite_mon_direction {
 	/* lite mon config direction rx */
@@ -475,14 +465,12 @@ struct cdp_lite_mon_filter_config {
  * cdp_lite_mon_peer_config - lite mon set peer config
  * @direction: direction tx/rx
  * @action: add/del
- * @type: assoc/non-assoc
  * @vdev_id: peer vdev id
  * @mac: peer mac
  */
 struct cdp_lite_mon_peer_config {
 	uint8_t direction;
 	uint8_t action;
-	uint8_t type;
 	uint8_t vdev_id;
 	uint8_t mac[QDF_MAC_ADDR_SIZE];
 };
@@ -490,13 +478,11 @@ struct cdp_lite_mon_peer_config {
 /**
  * cdp_lite_mon_peer_info - lite mon get peer config
  * @direction: direction tx/rx
- * @type: assoc/non-assoc
  * @count: no of peers
  * @mac: peer macs
  */
 struct cdp_lite_mon_peer_info {
 	uint8_t direction;
-	uint8_t type;
 	uint8_t count;
 	uint8_t mac[CDP_LITE_MON_PEER_MAX][QDF_MAC_ADDR_SIZE];
 };