This moves significant amount of code away from large driver_nl80211.c. Signed-off-by: Jouni Malinen <j@w1.fi>