Remove wcn->iftype variable

This member is known all the time when we need it from the vif struct.
No need in keeping it again as a global.

Signed-off-by: Olof Johansson <dev@skyshaper.net>
Use vif address instead of wcn for sta add

This will use the vif address allocated at init.

Signed-off-by: Olof Johansson <dev@skyshaper.net>
Remove int ch variable from wcn struct

This commit removes the ch variable from the wcn struct and introduce a
macro for reading the hw_value from the ieee80211_hw in the wcn struct.

Signed-off-by: Olof Johansson <dev@skyshaper.net>
Remove band variable from wcn struct

Removes the band variable and replace it with a macro for
reading it from wcn->hw instead.

Signed-off-by: Olof Johansson <dev@skyshaper.net>
Remove center_freq variable from wcn struct

Removes the center_freq variable from the wcn struct and replaces it
with a macro.

Signed-off-by: Olof Johansson <dev@skyshaper.net>
Move is_joining to vif struct

Moves this parameter to the vif struct where it belongs.

Signed-off-by: Olof Johansson <dev@skyshaper.net>