Use WCN36XX_BD_RATE_CTRL for 5G band

For MGMT frames on 5G band use WCN36XX_BD_RATE_CTRL rate.
The same must be done in future for P2P interface.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
Do not report TX_ACK due to instability

FW will not report status on NULL packet that was sent during
scanning. This will stop all queus. Disable untill issue
https://github.com/KrasnikovEugene/wcn36xx/issues/57 is fixed.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
Bail out from bss_info_changed in case of error

There is no need to proceed with execution.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
Remove correct interface

In remove_interface ops correct address must be deleted.
Otherwise in case of having more than one interface second
call will fail.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
Print names of SMD commands in debug messages

Makes it a a little easier to read the debug logs.

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Use constant for smd buffer size

In preparation for future work.

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Pass configuration with start request

Configuration needed to get beacon filtering working.

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Add CFG parameters

Preparing to pass cfg parameters with start request.

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Add more FW response codes

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Print error name / code if FW command fails

Useful when debugging.

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Add beacon filter

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Add BMPS support

In BMPS mode the chip can turn off the radio in order to save power.

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Report connection loss to mac80211

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Adopt for 1.2.2.4 FW version

was trying to keep the same hal.h format: v1 is changes for not 1.2.2.4 FW

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
Use SMSM bus to send data frames

In connected state driver will enter BMPS mode and chip
can go to suspend. When driver will try to send a frame
chip can sleep at that time so wake it up through SMSM
bus.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
Add initial WOW support

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>