1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2 /* Copyright(c) 2007 - 2011 Realtek Corporation. */
7 #include "wlan_bssdef.h"
11 #define C2H_MEM_SZ (16*1024)
13 #include "osdep_service.h"
14 #include "ieee80211.h" /* <ieee80211/ieee80211.h> */
16 #define FREE_CMDOBJ_SZ 128
18 #define MAX_CMDSZ 1024
20 #define MAX_EVTSZ 1024
22 #define CMDBUFF_ALIGN_SZ 512
25 struct adapter *padapter;
32 struct list_head list;
36 struct completion enqueue_cmd;
37 struct completion start_cmd_thread;
38 struct completion stop_cmd_thread;
39 struct __queue cmd_queue;
41 u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */
42 u8 *cmd_allocated_buf;
43 u8 *rsp_buf; /* shall be non-paged, and 4 bytes aligned */
44 u8 *rsp_allocated_buf;
48 struct adapter *padapter;
52 struct work_struct c2h_wk;
54 struct rtw_cbuf *c2h_queue;
55 #define C2H_QUEUE_MAX_LEN 10
57 u8 *evt_buf; /* shall be non-paged, and 4 bytes aligned */
60 #define init_h2fwcmd_w_parm_no_rsp(pcmd, pparm, code) \
62 INIT_LIST_HEAD(&pcmd->list);\
63 pcmd->cmdcode = code;\
64 pcmd->parmbuf = (u8 *)(pparm);\
65 pcmd->cmdsz = sizeof(*pparm);\
77 #define c2h_evt_exist(c2h_evt) ((c2h_evt)->id || (c2h_evt)->plen)
79 u32 rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *obj);
80 struct cmd_obj *rtw_dequeue_cmd(struct cmd_priv *pcmdpriv);
81 void rtw_free_cmd_obj(struct cmd_obj *pcmd);
83 int rtw_cmd_thread(void *context);
85 u32 rtw_init_cmd_priv(struct cmd_priv *pcmdpriv);
86 void rtw_free_cmd_priv(struct cmd_priv *pcmdpriv);
88 u32 rtw_init_evt_priv(struct evt_priv *pevtpriv);
89 void rtw_free_evt_priv(struct evt_priv *pevtpriv);
90 void rtw_evt_notify_isr(struct evt_priv *pevtpriv);
91 u8 p2p_protocol_wk_cmd(struct adapter *padapter, int intCmdType);
93 enum rtw_drvextra_cmd_id {
98 POWER_SAVING_CTRL_WK_CID,/* IPS,AUTOSuspend */
103 CHECK_HIQ_WK_CID,/* for softap mode, check hi queue if empty */
106 RTP_TIMER_CFG_WK_CID,
112 LPS_CTRL_JOINBSS = 1,
113 LPS_CTRL_CONNECT = 2,
114 LPS_CTRL_DISCONNECT = 3,
115 LPS_CTRL_SPECIAL_PACKET = 4,
126 Caller Mode: Infra, Ad-HoC
128 Notes: To join a known BSS.
135 Caller Mode: Infra, Ad-Hoc
137 Notes: To join the specified bss
142 struct joinbss_parm {
143 struct wlan_bssid_ex network;
147 Caller Mode: Infra, Ad-HoC(C)
149 Notes: To disconnect the current associated BSS
154 struct disconnect_parm {
155 u32 deauth_timeout_ms;
159 Caller Mode: AP, Ad-HoC(M)
161 Notes: To create a BSS
165 struct createbss_parm {
166 struct wlan_bssid_ex network;
169 struct setopmode_parm {
175 Caller Mode: AP, Ad-HoC, Infra
177 Notes: To ask RTL8711 performing site-survey
183 #define RTW_SSID_SCAN_AMOUNT 9 /* for WEXT_CSCAN_AMOUNT 9 */
184 #define RTW_CHANNEL_SCAN_AMOUNT (14+37)
185 struct sitesurvey_parm {
186 int scan_mode; /* active: 1, passive: 0 */
189 struct ndis_802_11_ssid ssid[RTW_SSID_SCAN_AMOUNT];
190 struct rtw_ieee80211_channel ch[RTW_CHANNEL_SCAN_AMOUNT];
196 Notes: To set the auth type of RTL8711. open/shared/802.1x
201 struct setauth_parm {
202 u8 mode; /* 0: legacy open, 1: legacy shared 2: 802.1x */
203 u8 _1x; /* 0: PSK, 1: TLS */
210 a. algorithm: wep40, wep104, tkip & aes
211 b. keytype: grp key/unicast key
214 when shared key ==> keyid is the camid
215 when 802.1x ==> keyid [0:1] ==> grp key
216 when 802.1x ==> keyid > 2 ==> unicast key
220 u8 algorithm; /* could be none, wep40, TKIP, CCMP, wep104 */
222 u8 grpkey; /* 1: this is the grpkey for 802.1x.
223 * 0: this is the unicast key for 802.1x */
224 u8 set_tx; /* 1: main tx key for wep. 0: other key. */
225 u8 key[16]; /* this could be 40 or 104 */
229 When in AP or Ad-Hoc mode, this is used to
230 allocate an sw/hw entry for a newly associated sta.
234 when shared key ==> algorithm/keyid
237 struct set_stakey_parm {
240 u8 id;/* currently for erasing cam entry if
241 * algorithm == _NO_PRIVACY_ */
245 struct set_stakey_rsp {
254 Command -Rsp(AID == CAMID) mode
256 This is to force fw to add an sta_data entry per driver's request.
258 FW will write an cam entry associated with it.
261 struct set_assocsta_parm {
265 struct set_assocsta_rsp {
275 This is to force fw to del an sta_data entry per driver's request
277 FW will invalidate the cam entry associated with it.
280 struct del_assocsta_parm {
285 Caller Mode: AP/Ad-HoC(M)
287 Notes: To notify fw that given staid has changed its power state
292 struct setstapwrstate_parm {
301 Notes: To setup the basic rate of RTL8711
306 struct setbasicrate_parm {
307 u8 basicrates[NumRates];
313 Notes: To read the current basic rate
318 struct getbasicrate_parm {
322 struct getbasicrate_rsp {
323 u8 basicrates[NumRates];
329 Notes: To setup the data rate of RTL8711
334 struct setdatarate_parm {
336 u8 datarates[NumRates];
342 Notes: To read the current data rate
347 struct getdatarate_parm {
351 struct getdatarate_rsp {
352 u8 datarates[NumRates];
357 AP: AP can use the info for the contents of beacon frame
358 Infra: STA can use the info when sitesurveying
362 Notes: To set the phy capability of the NIC
368 struct setphyinfo_parm {
369 struct regulatory_class class_sets[NUM_REGULATORYS];
373 struct getphyinfo_parm {
377 struct getphyinfo_rsp {
378 struct regulatory_class class_sets[NUM_REGULATORYS];
385 Notes: To set the channel/modem/band
386 This command will be used when channel/modem/band is changed.
399 Notes: To get the current setting of channel/modem/band
420 struct readTSSI_parm {
423 struct readTSSI_rsp {
427 struct writeBB_parm {
439 struct writeRF_parm {
444 struct getrfintfs_parm {
448 struct Tx_Beacon_param
450 struct wlan_bssid_ex network;
454 Notes: This command is used for H2C/C2H loopback testing
457 ==> CMD mode, return H2C_SUCCESS.
458 The following condition must be ture under CMD mode
459 mac[1] == mac[4], mac[2] == mac[3], mac[0]=mac[5]= 0;
460 s0 == 0x1234, s1 == 0xabcd, w0 == 0x78563412, w1 == 0x5aa5def7;
461 s2 == (b1 << 8 | b0);
464 ==> CMD_RSP mode, return H2C_SUCCESS_RSP
466 The rsp layout shall be:
483 ==> CMD_EVENT mode, return H2C_SUCCESS
484 The event layout shall be:
488 mac[2] = event's seq no, starting from 1 to parm's marc[3]
492 s0 = swap16(s0) - event.mac[2];
493 s1 = s1 + event.mac[2];
496 s2 = s0 + event.mac[2]
498 w1 = swap32(w1) - event.mac[2];
500 parm->mac[3] is the total event counts that host requested.
501 event will be the same with the cmd's param.
504 /* CMD param Format for driver extra cmd handler */
505 struct drvextra_cmd_parm {
506 int ec_id; /* extra cmd id */
507 int type_size; /* Can use this field as the type id or command size */
511 /*------------------- Below are used for RF/BB tunning ---------------------*/
513 struct setantenna_parm {
520 struct enrateadaptive_parm {
524 struct settxagctbl_parm {
525 u32 txagc[MAX_RATES_LENGTH];
528 struct gettxagctbl_parm {
531 struct gettxagctbl_rsp {
532 u32 txagc[MAX_RATES_LENGTH];
535 struct setagcctrl_parm {
536 u32 agcctrl; /* 0: pure hw, 1: fw */
539 struct setssup_parm {
540 u32 ss_ForceUp[MAX_RATES_LENGTH];
543 struct getssup_parm {
548 u8 ss_ForceUp[MAX_RATES_LENGTH];
551 struct setssdlevel_parm {
552 u8 ss_DLevel[MAX_RATES_LENGTH];
555 struct getssdlevel_parm {
559 struct getssdlevel_rsp {
560 u8 ss_DLevel[MAX_RATES_LENGTH];
563 struct setssulevel_parm {
564 u8 ss_ULevel[MAX_RATES_LENGTH];
567 struct getssulevel_parm {
571 struct getssulevel_rsp {
572 u8 ss_ULevel[MAX_RATES_LENGTH];
575 struct setcountjudge_parm {
576 u8 count_judge[MAX_RATES_LENGTH];
579 struct getcountjudge_parm {
583 struct getcountjudge_rsp {
584 u8 count_judge[MAX_RATES_LENGTH];
587 struct setratable_parm {
588 u8 ss_ForceUp[NumRates];
589 u8 ss_ULevel[NumRates];
590 u8 ss_DLevel[NumRates];
591 u8 count_judge[NumRates];
594 struct getratable_parm {
598 struct getratable_rsp {
599 u8 ss_ForceUp[NumRates];
600 u8 ss_ULevel[NumRates];
601 u8 ss_DLevel[NumRates];
602 u8 count_judge[NumRates];
605 /* to get TX,RX retry count */
607 struct gettxretrycnt_parm {
611 struct gettxretrycnt_rsp {
612 unsigned long tx_retrycnt;
615 struct getrxretrycnt_parm {
619 struct getrxretrycnt_rsp {
620 unsigned long rx_retrycnt;
623 /* to get BCNOK,BCNERR count */
624 struct getbcnokcnt_parm {
628 struct getbcnokcnt_rsp {
629 unsigned long bcnokcnt;
632 struct getbcnerrcnt_parm {
636 struct getbcnerrcnt_rsp {
637 unsigned long bcnerrcnt;
640 /* to get current TX power level */
641 struct getcurtxpwrlevel_parm {
644 struct getcurtxpwrlevel_rspi {
645 unsigned short tx_power;
648 struct setprobereqextraie_parm {
650 unsigned char ie_len;
654 struct setassocreqextraie_parm {
656 unsigned char ie_len;
660 struct setproberspextraie_parm {
662 unsigned char ie_len;
666 struct setassocrspextraie_parm {
668 unsigned char ie_len;
672 struct addBaReq_parm {
677 /*H2C Handler index: 46 */
684 /*H2C Handler index: 59 */
685 struct SetChannelPlan_param
690 /*H2C Handler index: 60 */
691 struct LedBlink_param
693 struct LED_871x *pLed;
696 /*H2C Handler index: 61 */
697 struct SetChannelSwitch_param
702 /*H2C Handler index: 62 */
703 struct TDLSoption_param
709 #define GEN_CMD_CODE(cmd) cmd ## _CMD_
715 0x01: success, and check Response.
716 0x02: cmd ignored due to duplicated sequcne number
717 0x03: cmd dropped due to invalid cmd code
722 #define H2C_RSP_OFFSET 512
724 #define H2C_SUCCESS 0x00
725 #define H2C_SUCCESS_RSP 0x01
726 #define H2C_DUPLICATED 0x02
727 #define H2C_DROPPED 0x03
728 #define H2C_PARAMETERS_ERROR 0x04
729 #define H2C_REJECTED 0x05
730 #define H2C_CMD_OVERFLOW 0x06
731 #define H2C_RESERVED 0x07
733 u8 rtw_sitesurvey_cmd(struct adapter *padapter, struct ndis_802_11_ssid *ssid,
734 int ssid_num, struct rtw_ieee80211_channel *ch,
736 u8 rtw_createbss_cmd(struct adapter *padapter);
737 u8 rtw_setstakey_cmd(struct adapter *padapter, u8 *psta, u8 unicast_key);
738 u8 rtw_clearstakey_cmd(struct adapter *padapter, u8 *psta, u8 entry, u8 enqueue);
739 u8 rtw_joinbss_cmd(struct adapter *padapter, struct wlan_network* pnetwork);
740 u8 rtw_disassoc_cmd(struct adapter *padapter, u32 deauth_timeout_ms, bool enqueue);
741 u8 rtw_setopmode_cmd(struct adapter *padapter, enum ndis_802_11_network_infra networktype);
742 u8 rtw_setdatarate_cmd(struct adapter *padapter, u8 *rateset);
743 u8 rtw_setrfintfs_cmd(struct adapter *padapter, u8 mode);
745 u8 rtw_gettssi_cmd(struct adapter *padapter, u8 offset,u8 *pval);
746 u8 rtw_setfwdig_cmd(struct adapter*padapter, u8 type);
747 u8 rtw_setfwra_cmd(struct adapter*padapter, u8 type);
749 u8 rtw_addbareq_cmd(struct adapter*padapter, u8 tid, u8 *addr);
751 u8 rtw_dynamic_chk_wk_cmd(struct adapter *adapter);
753 u8 rtw_lps_ctrl_wk_cmd(struct adapter*padapter, u8 lps_ctrl_type, u8 enqueue);
754 u8 rtw_rpt_timer_cfg_cmd(struct adapter*padapter, u16 minRptTime);
756 u8 rtw_antenna_select_cmd(struct adapter*padapter, u8 antenna,u8 enqueue);
757 u8 rtw_ps_cmd(struct adapter*padapter);
759 u8 rtw_chk_hi_queue_cmd(struct adapter*padapter);
761 u8 rtw_set_chplan_cmd(struct adapter *padapter, u8 chplan);
763 u8 rtw_c2h_wk_cmd(struct adapter *padapter, u8 *c2h_evt);
765 u8 rtw_drvextra_cmd_hdl(struct adapter *padapter, unsigned char *pbuf);
767 void rtw_survey_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd);
768 void rtw_disassoc_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd);
769 void rtw_joinbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd);
770 void rtw_createbss_cmd_callback(struct adapter *adapt, struct cmd_obj *pcmd);
771 void rtw_getbbrfreg_cmdrsp_callback(struct adapter *adapt, struct cmd_obj *cmd);
773 void rtw_setstaKey_cmdrsp_callback(struct adapter *adapt, struct cmd_obj *cmd);
774 void rtw_setassocsta_cmdrsp_callback(struct adapter *adapt, struct cmd_obj *cm);
775 void rtw_getrttbl_cmdrsp_callback(struct adapter *adapt, struct cmd_obj *cmd);
777 struct _cmd_callback {
779 void (*callback)(struct adapter *padapter, struct cmd_obj *cmd);
783 GEN_CMD_CODE(_Read_MACREG), /*0*/
784 GEN_CMD_CODE(_Write_MACREG),
785 GEN_CMD_CODE(_Read_BBREG),
786 GEN_CMD_CODE(_Write_BBREG),
787 GEN_CMD_CODE(_Read_RFREG),
788 GEN_CMD_CODE(_Write_RFREG), /*5*/
789 GEN_CMD_CODE(_Read_EEPROM),
790 GEN_CMD_CODE(_Write_EEPROM),
791 GEN_CMD_CODE(_Read_EFUSE),
792 GEN_CMD_CODE(_Write_EFUSE),
794 GEN_CMD_CODE(_Read_CAM), /*10*/
795 GEN_CMD_CODE(_Write_CAM),
796 GEN_CMD_CODE(_setBCNITV),
797 GEN_CMD_CODE(_setMBIDCFG),
798 GEN_CMD_CODE(_JoinBss), /*14*/
799 GEN_CMD_CODE(_DisConnect), /*15*/
800 GEN_CMD_CODE(_CreateBss),
801 GEN_CMD_CODE(_SetOpMode),
802 GEN_CMD_CODE(_SiteSurvey), /*18*/
803 GEN_CMD_CODE(_SetAuth),
805 GEN_CMD_CODE(_SetKey), /*20*/
806 GEN_CMD_CODE(_SetStaKey),
807 GEN_CMD_CODE(_SetAssocSta),
808 GEN_CMD_CODE(_DelAssocSta),
809 GEN_CMD_CODE(_SetStaPwrState),
810 GEN_CMD_CODE(_SetBasicRate), /*25*/
811 GEN_CMD_CODE(_GetBasicRate),
812 GEN_CMD_CODE(_SetDataRate),
813 GEN_CMD_CODE(_GetDataRate),
814 GEN_CMD_CODE(_SetPhyInfo),
816 GEN_CMD_CODE(_GetPhyInfo), /*30*/
817 GEN_CMD_CODE(_SetPhy),
818 GEN_CMD_CODE(_GetPhy),
819 GEN_CMD_CODE(_readRssi),
820 GEN_CMD_CODE(_readGain),
821 GEN_CMD_CODE(_SetAtim), /*35*/
822 GEN_CMD_CODE(_SetPwrMode),
823 GEN_CMD_CODE(_JoinbssRpt),
824 GEN_CMD_CODE(_SetRaTable),
825 GEN_CMD_CODE(_GetRaTable),
827 GEN_CMD_CODE(_GetCCXReport), /*40*/
828 GEN_CMD_CODE(_GetDTMReport),
829 GEN_CMD_CODE(_GetTXRateStatistics),
830 GEN_CMD_CODE(_SetUsbSuspend),
831 GEN_CMD_CODE(_SetH2cLbk),
832 GEN_CMD_CODE(_AddBAReq), /*45*/
833 GEN_CMD_CODE(_SetChannel), /*46*/
834 GEN_CMD_CODE(_SetTxPower),
835 GEN_CMD_CODE(_SwitchAntenna),
836 GEN_CMD_CODE(_SetCrystalCap),
837 GEN_CMD_CODE(_SetSingleCarrierTx), /*50*/
839 GEN_CMD_CODE(_SetSingleToneTx),/*51*/
840 GEN_CMD_CODE(_SetCarrierSuppressionTx),
841 GEN_CMD_CODE(_SetContinuousTx),
842 GEN_CMD_CODE(_SwitchBandwidth), /*54*/
843 GEN_CMD_CODE(_TX_Beacon), /*55*/
845 GEN_CMD_CODE(_Set_MLME_EVT), /*56*/
846 GEN_CMD_CODE(_Set_Drv_Extra), /*57*/
847 GEN_CMD_CODE(_Set_H2C_MSG), /*58*/
849 GEN_CMD_CODE(_SetChannelPlan), /*59*/
850 GEN_CMD_CODE(_LedBlink), /*60*/
852 GEN_CMD_CODE(_SetChannelSwitch), /*61*/
853 GEN_CMD_CODE(_TDLS), /*62*/
858 #define _GetBBReg_CMD_ _Read_BBREG_CMD_
859 #define _SetBBReg_CMD_ _Write_BBREG_CMD_
860 #define _GetRFReg_CMD_ _Read_RFREG_CMD_
861 #define _SetRFReg_CMD_ _Write_RFREG_CMD_
864 static struct _cmd_callback rtw_cmd_callback[] =
866 {GEN_CMD_CODE(_Read_MACREG), NULL}, /*0*/
867 {GEN_CMD_CODE(_Write_MACREG), NULL},
868 {GEN_CMD_CODE(_Read_BBREG), &rtw_getbbrfreg_cmdrsp_callback},
869 {GEN_CMD_CODE(_Write_BBREG), NULL},
870 {GEN_CMD_CODE(_Read_RFREG), &rtw_getbbrfreg_cmdrsp_callback},
871 {GEN_CMD_CODE(_Write_RFREG), NULL}, /*5*/
872 {GEN_CMD_CODE(_Read_EEPROM), NULL},
873 {GEN_CMD_CODE(_Write_EEPROM), NULL},
874 {GEN_CMD_CODE(_Read_EFUSE), NULL},
875 {GEN_CMD_CODE(_Write_EFUSE), NULL},
877 {GEN_CMD_CODE(_Read_CAM), NULL}, /*10*/
878 {GEN_CMD_CODE(_Write_CAM), NULL},
879 {GEN_CMD_CODE(_setBCNITV), NULL},
880 {GEN_CMD_CODE(_setMBIDCFG), NULL},
881 {GEN_CMD_CODE(_JoinBss), &rtw_joinbss_cmd_callback}, /*14*/
882 {GEN_CMD_CODE(_DisConnect), &rtw_disassoc_cmd_callback}, /*15*/
883 {GEN_CMD_CODE(_CreateBss), &rtw_createbss_cmd_callback},
884 {GEN_CMD_CODE(_SetOpMode), NULL},
885 {GEN_CMD_CODE(_SiteSurvey), &rtw_survey_cmd_callback}, /*18*/
886 {GEN_CMD_CODE(_SetAuth), NULL},
888 {GEN_CMD_CODE(_SetKey), NULL}, /*20*/
889 {GEN_CMD_CODE(_SetStaKey), &rtw_setstaKey_cmdrsp_callback},
890 {GEN_CMD_CODE(_SetAssocSta), &rtw_setassocsta_cmdrsp_callback},
891 {GEN_CMD_CODE(_DelAssocSta), NULL},
892 {GEN_CMD_CODE(_SetStaPwrState), NULL},
893 {GEN_CMD_CODE(_SetBasicRate), NULL}, /*25*/
894 {GEN_CMD_CODE(_GetBasicRate), NULL},
895 {GEN_CMD_CODE(_SetDataRate), NULL},
896 {GEN_CMD_CODE(_GetDataRate), NULL},
897 {GEN_CMD_CODE(_SetPhyInfo), NULL},
899 {GEN_CMD_CODE(_GetPhyInfo), NULL}, /*30*/
900 {GEN_CMD_CODE(_SetPhy), NULL},
901 {GEN_CMD_CODE(_GetPhy), NULL},
902 {GEN_CMD_CODE(_readRssi), NULL},
903 {GEN_CMD_CODE(_readGain), NULL},
904 {GEN_CMD_CODE(_SetAtim), NULL}, /*35*/
905 {GEN_CMD_CODE(_SetPwrMode), NULL},
906 {GEN_CMD_CODE(_JoinbssRpt), NULL},
907 {GEN_CMD_CODE(_SetRaTable), NULL},
908 {GEN_CMD_CODE(_GetRaTable), NULL},
910 {GEN_CMD_CODE(_GetCCXReport), NULL}, /*40*/
911 {GEN_CMD_CODE(_GetDTMReport), NULL},
912 {GEN_CMD_CODE(_GetTXRateStatistics), NULL},
913 {GEN_CMD_CODE(_SetUsbSuspend), NULL},
914 {GEN_CMD_CODE(_SetH2cLbk), NULL},
915 {GEN_CMD_CODE(_AddBAReq), NULL}, /*45*/
916 {GEN_CMD_CODE(_SetChannel), NULL}, /*46*/
917 {GEN_CMD_CODE(_SetTxPower), NULL},
918 {GEN_CMD_CODE(_SwitchAntenna), NULL},
919 {GEN_CMD_CODE(_SetCrystalCap), NULL},
920 {GEN_CMD_CODE(_SetSingleCarrierTx), NULL}, /*50*/
922 {GEN_CMD_CODE(_SetSingleToneTx), NULL}, /*51*/
923 {GEN_CMD_CODE(_SetCarrierSuppressionTx), NULL},
924 {GEN_CMD_CODE(_SetContinuousTx), NULL},
925 {GEN_CMD_CODE(_SwitchBandwidth), NULL}, /*54*/
926 {GEN_CMD_CODE(_TX_Beacon), NULL},/*55*/
928 {GEN_CMD_CODE(_Set_MLME_EVT), NULL},/*56*/
929 {GEN_CMD_CODE(_Set_Drv_Extra), NULL},/*57*/
930 {GEN_CMD_CODE(_Set_H2C_MSG), NULL},/*58*/
931 {GEN_CMD_CODE(_SetChannelPlan), NULL},/*59*/
932 {GEN_CMD_CODE(_LedBlink), NULL},/*60*/
934 {GEN_CMD_CODE(_SetChannelSwitch), NULL},/*61*/
935 {GEN_CMD_CODE(_TDLS), NULL},/*62*/