anchor.diff:      {next_state, initial_state(MacMode), State, ?SHUTDOWN_TIMEOUT};
   
   init_assoc(Event = {FrameType, DA, SA, BSS, 0, 0, ReqFrame},
  -	   #state{response_ies = ResponseIEs0,
  +	   #state{radio_mac = BSS,
  +		  response_ies = ResponseIEs0,
   		  wpa_config = #wpa_config{
   				  rsn = #wtp_wlan_rsn{
   					   version = RSNversion,
  
positive.code:     lager:warning("idle timeout in INIT_AUTH"),
      {stop, normal, State};
  
  init_auth(Event = {'Authentication', DA, SA, BSS, 0, 0, Frame}, State) ->
      lager:debug("in INIT_AUTH got Authentication Request: ~p", [Event]),
      AuthFrame = decode_auth_frame(Frame),
      case AuthFrame of
  
negative.code:     lager:warning("idle timeout in INIT_ASSOC"),
      {stop, normal, State};
  
  init_assoc(Event = {'Authentication', _DA, _SA, BSS, 0, 0, _Frame},
  	   State = #state{radio_mac = BSS, mac_mode = local_mac}) ->
      lager:debug("in INIT_ASSOC Local-MAC Mode got Authentication Request: ~p", [Event]),
      {next_state, init_assoc, State, ?IDLE_TIMEOUT};
  
  