qcacmn: Add SCAN WAR for hawkeye emulation
Emulation being clocked at lowest rate, SCAN and serialization timers are modified to handle these scenarios Change-Id: Ia937930483dbcd0268fd2fe2d0393e49f09b215f CRs-Fixed: 2009490
This commit is contained in:

committad av
Sandeep Puligilla

förälder
6b38734120
incheckning
da0e2f41b7
@@ -64,4 +64,11 @@ uint8_t wlan_freq_to_chan(uint32_t freq);
|
||||
uint8_t *wlan_get_vendor_ie_ptr_from_oui(uint8_t *oui,
|
||||
uint8_t oui_size, uint8_t *ie, uint16_t ie_len);
|
||||
|
||||
/**
|
||||
* wlan_is_emulation_platform() - check if platform is emulation based
|
||||
* @phy_version - psoc nif phy_version
|
||||
*
|
||||
* Return: boolean value based on platform type
|
||||
*/
|
||||
bool wlan_is_emulation_platform(uint32_t phy_version);
|
||||
#endif /* _WLAN_UTILITY_H_ */
|
||||
|
@@ -94,3 +94,13 @@ uint8_t *wlan_get_vendor_ie_ptr_from_oui(uint8_t *oui,
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
bool wlan_is_emulation_platform(uint32_t phy_version)
|
||||
{
|
||||
if ((phy_version == 0xABC0) || (phy_version == 0xABC1) ||
|
||||
(phy_version == 0xABC2) || (phy_version == 0xABC3) ||
|
||||
(phy_version == 0xFFFF) || (phy_version == 0xABCD))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Referens i nytt ärende
Block a user