qcacmn: Support for IPQ8074 2G PHYB mode 2/3
This mode is supported through hw_mode_id 7. A special mode for IPQ8074 platform alone to bring up single pdev alone on 2G mode. FW would advertise the mode 7 support through the WMI service ready message and this mode will be the default mode for AP-HK10 alone. Added preferred_hw_mode and target_pdev_id into dp structures so that they can be used to configure the dp rings for this particular mode. Also changed the lmac_id to target_pdev_id mapping for mode 7. Change-Id: I3aae46fea13132eebaf7d37cff68ef517253d229
Este cometimento está contido em:

cometido por
nshrivas

ascendente
c6ca857257
cometimento
1039ae6642
@@ -1405,8 +1405,8 @@ static inline struct dp_pdev *
|
||||
}
|
||||
|
||||
/**
|
||||
* dp_get_target_pdev_id_for_host_pdev_id() - Return target pdev corresponding
|
||||
* to host pdev id
|
||||
* dp_calculate_target_pdev_id_from_host_pdev_id() - Return target pdev
|
||||
* corresponding to host pdev id
|
||||
* @soc: soc pointer
|
||||
* @mac_for_pdev: pdev_id corresponding to host pdev for WIN, mac id for MCL
|
||||
*
|
||||
@@ -1419,7 +1419,7 @@ static inline struct dp_pdev *
|
||||
* For MCL, return the offset-1 translated mac_id
|
||||
*/
|
||||
static inline int
|
||||
dp_get_target_pdev_id_for_host_pdev_id
|
||||
dp_calculate_target_pdev_id_from_host_pdev_id
|
||||
(struct dp_soc *soc, uint32_t mac_for_pdev)
|
||||
{
|
||||
struct dp_pdev *pdev;
|
||||
@@ -1433,6 +1433,25 @@ dp_get_target_pdev_id_for_host_pdev_id
|
||||
return wlan_cfg_get_target_pdev_id(soc->wlan_cfg_ctx, pdev->lmac_id);
|
||||
}
|
||||
|
||||
/**
|
||||
* dp_get_target_pdev_id_for_host_pdev_id() - Return target pdev corresponding
|
||||
* to host pdev id
|
||||
* @soc: soc pointer
|
||||
* @mac_for_pdev: pdev_id corresponding to host pdev for WIN, mac id for MCL
|
||||
*
|
||||
* returns target pdev_id for host pdev id.
|
||||
* For WIN, return the value stored in pdev object.
|
||||
* For MCL, return the offset-1 translated mac_id.
|
||||
*/
|
||||
static inline int
|
||||
dp_get_target_pdev_id_for_host_pdev_id
|
||||
(struct dp_soc *soc, uint32_t mac_for_pdev)
|
||||
{
|
||||
struct dp_pdev *pdev = soc->pdev_list[mac_for_pdev];
|
||||
|
||||
return pdev->target_pdev_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* dp_get_host_pdev_id_for_target_pdev_id() - Return host pdev corresponding
|
||||
* to target pdev id
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador