anchor.diff:      State2 = send_request(Header1, ieee_802_11_wlan_configuration_request, ReqElements, State1),
       next_state(run, State2);
   
  +run({ieee_802_11_wlan_configuration_response, _Seq, Elements, _Header}, State) ->
  +    case proplists:get_value(result_code, Elements) of
  +	0 ->
  +	    lager:debug("IEEE 802.11 WLAN Configuration ok"),
  +	    ok;
  +	Code ->
  +	    lager:warning("IEEE 802.11 WLAN Configuration failed with ~w~n", [Code]),
  +	    ok
  +    end,
  +    next_state(run, State);
  +
  +run({station_configuration_response, _Seq,
  +     Elements, _Header}, State) ->
  +    %% TODO: timeout and Error handling, e.g. shut the station process down when the Add Station failed
  +    case proplists:get_value(result_code, Elements) of
  +	0 ->
  +	    lager:debug("Station Configuration ok"),
  +	    ok;
  +	Code ->
  +	    lager:warning("Station Configuration failed with ~w~n", [Code]),
  +	    ok
  +    end,
  +    next_state(run, State);
  +
   run({add_station, #capwap_header{radio_id = RadioId, wb_id = WBID}, MAC}, State) ->
       Flags = [{frame,'802.3'}],
       ReqElements = [#add_station{
  
positive.code:     end;
  select_tunnel_mode(_Modes, split_mac) ->
      '802_11_tunnel'.
  
negative.code:     State1 = send_response(Header, echo_response, Seq, Elements, State),
      next_state(run, State1);
  
  run(configure, State = #state{id = WtpId}) ->
      lager:debug("configure WTP: ~p", [WtpId]),
      {TStamp, _} = now_to_sntp_time(erlang:now()),
      RadioId = 1,
      WBID = 1,
      Flags = [{frame,'802.3'}],
      ReqElements = [#ac_timestamp{timestamp = TStamp}],
      Header1 = #capwap_header{radio_id = RadioId, wb_id = WBID, flags = Flags},
      State1 = send_request(Header1, configuration_update_request, ReqElements, State),
      next_state(run, State1);
  
  run({configuration_update_response, _Seq, Elements, _Header}, State) ->
      case proplists:get_value(result_code, Elements) of
  	0 ->
  	    lager:debug("Configuration Update ok"),
  	    ok;
  	Code ->
  	    lager:warning("Configuration Update with ~w~n", [Code]),
  	    %% ignore failures
  	    ok
      end,
      run(configure_wlan, State);
  
  run(configure_wlan, State = #state{id = WtpId}) ->
      lager:debug("configure WTP: ~p", [WtpId]),
      RadioId = 1,
      App = capwap,
  