Fix status size in START_RSP message

In START_RSP message status filed is 2 bytes but not 4 as in
all other responses. Because of that check for status was
always failing all the time. As a fix check for success only
2 bytes.

Signed-off-by: Eugene Krasnikov <eugene.krasnikov@sonymobile.com>
wcn36xx: import hal.h from the prima driver

URL:

https://www.codeaurora.org/gitweb/external/wlan/?p=prima.git;a=blob_plain;f=riva/inc/wlan_hal_msg.h;h=f29aaf66e59c566cde4bd99bc2b00024641aac21;hb=HEAD

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
add hw.h

From URL:

https://www.codeaurora.org/gitweb/external/wlan/?p=prima.git;a=blob_plain;f=riva/inc/wlan_qct_dev_defs.h;h=b9577e6bd173b3e44d83bfc40d852b381585c6ca;hb=HEAD

hal.h needs these

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
hal: make hal.h compile

So that we can use it with wcn36xx.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
hal: remove ugly typedefs and PACKED macros from structs

Follow Linux style and use real structs and __packed.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
hal: remove all packed macros

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
hal: run Lindent

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
hal: comment cleanup

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
hal: remove useless ifdefs

Leave the ones which change structure content, these need to be solved somehow differently.

Also fix few compiler errors which happened due to #ifdef removal.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
hal: use WCN36XX_HAL prefix for command ids

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
hal: reindent PARAM_BEACON_UPDATE_MASK

Lindent reformatted it in a really ugly way.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
hal: get rid of tSirMacAddr

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
hal: get rid of most typedefs

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
hal: remove hungarian notation from enums

The 'e' prefix is useless.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
delete hw.h

We actually just need just HAL_NUM_BSSID from hw.h. So copy that to hal.h and delete hw.h entirely.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
hal: clean up structure field names

Simplify them and get rid of camel case style.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
hal: remove unused feature macros

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
hal: remove tHalIpv4Addr typedef

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
hal: whitespace or comment cleanup

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
hal: rename sir_ prefix to wcn36xx_hal_

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>