staging: rtl8723au: Get rid of some unused tdls definitions
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 21 May 2014 07:38:26 +0000 (09:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 07:27:51 +0000 (16:27 +0900)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/include/rtw_cmd.h
drivers/staging/rtl8723au/include/rtw_mlme.h

index 383cd39bd4fe500dcbe9af1037aa2f6a9750f28f..efcbf5c84779cb3879b37d97439a43baa73bfb78 100644 (file)
@@ -719,7 +719,6 @@ int rtw_set_ch_cmd23a(struct rtw_adapter*padapter, u8 ch, u8 bw, u8 ch_offset, u
 int rtw_set_chplan_cmd(struct rtw_adapter*padapter, u8 chplan, u8 enqueue);
 int rtw_led_blink_cmd(struct rtw_adapter*padapter, struct led_8723a *pLed);
 int rtw_set_csa_cmd(struct rtw_adapter*padapter, u8 new_ch_no);
-int rtw_tdls_cmd(struct rtw_adapter*padapter, u8 *addr, u8 option);
 
 int rtw_c2h_wk_cmd23a(struct rtw_adapter *padapter, u8 *c2h_evt);
 
index b1f2b5fa94e11ec54854047c8721ebc47f68e02e..1bb9e6cce7964ca105e0869a6488395388f9deb9 100644 (file)
@@ -179,33 +179,6 @@ struct scan_limit_info {
        u8      operation_ch[2];        /* Store the operation channel of invitation request frame */
 };
 
-struct tdls_ss_record {        /* signal strength record */
-       u8      macaddr[ETH_ALEN];
-       u8      RxPWDBAll;
-       u8      is_tdls_sta;    /*  true: direct link sta, false: else */
-};
-
-struct tdls_info {
-       u8      ap_prohibited;
-       uint    setup_state;
-       u8      sta_cnt;
-       /* 1:tdls sta == (NUM_STA-1), reach max direct link no; 0: else; */
-       u8      sta_maximum;
-       struct tdls_ss_record   ss_record;
-       u8      macid_index;    /* macid entry that is ready to write */
-       /* cam entry that is trying to clear, using it in direct link teardown*/
-       u8      clear_cam;
-       u8      ch_sensing;
-       u8      cur_channel;
-       u8      candidate_ch;
-       u8      collect_pkt_num[MAX_CHANNEL_NUM];
-       spinlock_t      cmd_lock;
-       spinlock_t      hdl_lock;
-       u8      watchdog_count;
-       u8      dev_discovered;         /* WFD_TDLS: for sigma test */
-       u8      enable;
-};
-
 struct mlme_priv {
        spinlock_t      lock;
        int     fw_state;