qcacmn: 160 MHz/80p80 support for gen III Spectral

For generation 3 spectral reports for the 80 MHz segments
come as part of different events. To deal with this a
state machine is added to report handler. Noise floor
value of the lowest chain in the chain mask is populated
in the SAMP message.

CRs-Fixed: 2236331
Change-Id: Ie24426449cf8503c9d7f7c30ca617a6697ca2b5e
Šī revīzija ir iekļauta:
Edayilliam Jayadev
2018-09-06 14:51:25 +05:30
revīziju iesūtīja nshrivas
vecāks a8dcd50683
revīzija 2256850e61
6 mainīti faili ar 657 papildinājumiem un 348 dzēšanām

Parādīt failu

@@ -1885,6 +1885,8 @@ target_if_spectral_detach(struct target_if_spectral *spectral)
spectral_info("spectral detach");
if (spectral) {
if (spectral->spectral_gen == SPECTRAL_GEN3)
deinit_160mhz_delivery_state_machine(spectral);
qdf_spinlock_destroy(&spectral->param_info.osps_lock);
target_if_spectral_detach_simulation(spectral);
@@ -2076,6 +2078,8 @@ target_if_pdev_spectral_init(struct wlan_objmgr_pdev *pdev)
#else
spectral->use_nl_bcast = false;
#endif
if (spectral->spectral_gen == SPECTRAL_GEN3)
init_160mhz_delivery_state_machine(spectral);
}
return spectral;