wlan: Fix for Static analysis issues in vos_nvitem.c

The 'request->alpha2' of size 2 is passed to sme_ChangeCountryCode
but in sme_ChangeCountryCode it is considered as size of 3.

Pass ccode of length 3 to sme_ChangeCountryCode insted of
request->alpha2.

Change-Id: I579c29e038565e21555bc555e3e3fa6473398293
CRs-Fixed: 633938
wlan: do not read registers if SSR is in progress

If WCNSS has crashed or is in bad state we should not
read registers in the WCNSS domain as it would lead
to watchdog bites because wpalReadRegister() does not
return till the register is read successfully. Add a
check to make sure that the driver does not try to
access registers when WCNSS is in bad state.

Change-Id: Iafeb0ba8efcc5d6ec1c53939a6fc8ce5252553a4
CRs-Fixed: 621974
pronto: Panic on vos double free detection

Change VOS_ASSERT(0) to panic in vos_mem_free() guarded under
MEMORY_DEBUG feature on double free detection.

Change-Id: I8b008b07d876d970da38e46dfb490121bd313908
CRs-Fixed: 609786
wlan: Check CH144 firmware support.

Include channel 144 in scan request only if firmware supports.

Change-Id: I56bdf1a387672621c55d5ad19c06ec60f0189a4e
CRs-Fixed: 629254
wlan: Add new helper function for WLAN_GET_LINK_SPEED

Instead of using iw_get_linkspeed, use new helper function for
WLAN_GET_LINK_SPEED as return value from iw_get_linkspeed
is no longer valid for WLAN_GET_LINK_SPEED.

Change-Id: I7e331aa8b8d5c0f48120e81aa55afeab3a285162
CRs-Fixed: 637101
wlan: Revision 3.2.3.277

Revision 3.2.3.277

Change-Id: I02c47da2a06662c5d46f073afb9c4af0775fbe7a