wlan: Link Layer Stats, adding WIFI_INTERFACE_UNKNOWN to interface mode

Adding WIFI_INTERFACE_UNKNOWN mode to the interface mode for the
link layer statistics

Change-Id: I98785537f7616175429076fee9de250ff1db0367
CRs-Fixed: 703242
wlan: Addition of Operating class IE in tdls frames

When TDLS offchannel support is enabled setup req/resp
and discovery response frames need to encode supported
operating class IE. Classes are derived based on the
available channels for a country. Unique list of sorted,
supporting classes is formed as per spec.

Change-Id: I8b2c41821a8e79ff045c4dd8495dc3fc2429bae0
CRs-Fixed: 701726
wlan: Resolve pointer dereference problem in cfg Download Req function.

In processCfgDownloadReq(), pDstTest pointer is dereferenced first
and later check is done for NULL.Fix that.

Change-Id: I1342abd984a7cc1ed83543c0c4609269670b8ff8
CRs-Fixed: 696404
wlan: Avoid 3 sec delay if both kernel and NV CC (non 00)are same.

If Kernel and Default CountryCode are same and non Zero,
driver will not process Kernel stored Country code (Gerrit: 859811).
At the time of driver load,
vos_nv_getRegDomainFromCountryCode will try to call a hint with
Default country code. In kernel as Default Country code and
stored country code both are same, Kernel will not try to call
callback and driver has to wait for 3 sec to completion.

Fixing this by passing country code 00 to kernel if Default Country
is non-zero.
If we pass 00 to kernel at the time of driver unloading;
stored kernel country code and Default country code will be diff
and kernel can call wlan_hdd_linux_reg_notifier to complete
hint.

CRs-Fixed: 701871
Change-Id: If108b75df7853c8bb05fbd0947e7a48e20eed1b3
Wlan: Release 3.2.3.391

Release 3.2.3.391

Change-Id: Idbda4400c40b57613ae3847bb2552b94b1044d39
CRs-Fixed: 688141