wcn36xx: Use pr_fmt instead of driver prefix.

To make code similar to all ath drivers.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
wcn36xx: Move \n out of print functions

To make code similar as in all ath drivers.

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

Shorten wcn36xx_error to wcn36xx_err.

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

table must be u8 size so that it's easier to iterate.

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

mac80211 will send multicast with sta_priv set to NULL.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
wcn36xx: free tx skb in case of error

Do not forget to free skb on tx path in case of error happaned.

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

Add default amount of filters.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
wcn36xx: Remove not used variable.

n_patterns and max_scan_ssids is not used.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
wcn36xx: Support only one iface

wcn36xx is supporting only one interface so far.
Do not announce iface combinations.

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

With this patch WEP is supported;

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
wcn36xx: handle all stop ampdu actions

Not all stop ampdu actions where handled. No need to flush
since HW will flush it anyway.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
wcn36xx: combine flags in common way

Use pipe after the flag.

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