blob: 2aab78aaf33c410d4f3f4e6f334b4cdbf7d6ff89 [file] [log] [blame]
Ali Baharcf3e6882011-09-04 03:14:04 +08001/******************************************************************************
2 *
3 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
17 *
18 * Modifications for inclusion into the Linux staging tree are
19 * Copyright(c) 2010 Larry Finger. All rights reserved.
20 *
21 * Contact information:
22 * WLAN FAE <wlanfae@realtek.com>
23 * Larry Finger <Larry.Finger@lwfinger.net>
24 *
25 ******************************************************************************/
Larry Finger2865d422010-08-20 10:15:30 -050026#ifndef __RTL871X_CMD_H_
27#define __RTL871X_CMD_H_
28
29#include "wlan_bssdef.h"
30#include "rtl871x_rf.h"
31#define C2H_MEM_SZ (16*1024)
32
33#include "osdep_service.h"
34#include "ieee80211.h"
35
36#define FREE_CMDOBJ_SZ 128
37#define MAX_CMDSZ 512
38#define MAX_RSPSZ 512
39#define MAX_EVTSZ 1024
40#define CMDBUFF_ALIGN_SZ 512
41
42struct cmd_obj {
43 u16 cmdcode;
44 u8 res;
45 u8 *parmbuf;
46 u32 cmdsz;
47 u8 *rsp;
48 u32 rspsz;
49 struct list_head list;
50};
51
52struct cmd_priv {
53 struct semaphore cmd_queue_sema;
54 struct semaphore terminate_cmdthread_sema;
55 struct __queue cmd_queue;
56 u8 cmd_seq;
57 u8 *cmd_buf; /*shall be non-paged, and 4 bytes aligned*/
58 u8 *cmd_allocated_buf;
59 u8 *rsp_buf; /*shall be non-paged, and 4 bytes aligned*/
60 u8 *rsp_allocated_buf;
61 u32 cmd_issued_cnt;
62 u32 cmd_done_cnt;
63 u32 rsp_cnt;
64 struct _adapter *padapter;
65};
66
67struct evt_obj {
68 u16 evtcode;
69 u8 res;
70 u8 *parmbuf;
71 u32 evtsz;
72 struct list_head list;
73};
74
75struct evt_priv {
76 struct __queue evt_queue;
77 u8 event_seq;
78 u8 *evt_buf; /*shall be non-paged, and 4 bytes aligned*/
79 u8 *evt_allocated_buf;
80 u32 evt_done_cnt;
81 struct tasklet_struct event_tasklet;
82};
83
84#define init_h2fwcmd_w_parm_no_rsp(pcmd, pparm, code) \
85do {\
86 _init_listhead(&pcmd->list);\
87 pcmd->cmdcode = code;\
88 pcmd->parmbuf = (u8 *)(pparm);\
89 pcmd->cmdsz = sizeof(*pparm);\
90 pcmd->rsp = NULL;\
91 pcmd->rspsz = 0;\
92} while (0)
93
94u32 r8712_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *obj);
95u32 r8712_enqueue_cmd_ex(struct cmd_priv *pcmdpriv, struct cmd_obj *obj);
96struct cmd_obj *r8712_dequeue_cmd(struct __queue *queue);
97void r8712_free_cmd_obj(struct cmd_obj *pcmd);
98int r8712_cmd_thread(void *context);
99u32 r8712_init_cmd_priv(struct cmd_priv *pcmdpriv);
100void r8712_free_cmd_priv(struct cmd_priv *pcmdpriv);
101u32 r8712_init_evt_priv(struct evt_priv *pevtpriv);
102void r8712_free_evt_priv(struct evt_priv *pevtpriv);
103
104enum rtl871x_drvint_cid {
105 NONE_WK_CID,
106 WDG_WK_CID,
107 MAX_WK_CID
108};
109
110enum RFINTFS {
111 SWSI,
112 HWSI,
113 HWPI,
114};
115
116/*
117 * Caller Mode: Infra, Ad-HoC(C)
118 * Notes: To enter USB suspend mode
119 * Command Mode
120 */
121struct usb_suspend_parm {
122 u32 action; /* 1: sleep, 0:resume */
123};
124
125/*
126 * Caller Mode: Infra, Ad-Hoc
127 * Notes: To join the specified bss
128 * Command Event Mode
129 */
130struct joinbss_parm {
131 struct ndis_wlan_bssid_ex network;
132};
133
134/*
135 * Caller Mode: Infra, Ad-HoC(C)
136 * Notes: To disconnect the current associated BSS
137 * Command Mode
138 */
139struct disconnect_parm {
140 u32 rsvd;
141};
142
143/*
144 * Caller Mode: AP, Ad-HoC(M)
145 * Notes: To create a BSS
146 * Command Mode
147 */
148struct createbss_parm {
149 struct ndis_wlan_bssid_ex network;
150};
151
152/*
153 * Caller Mode: AP, Ad-HoC, Infra
154 * Notes: To set the NIC mode of RTL8711
155 * Command Mode
156 * The definition of mode:
157 *
158 * #define IW_MODE_AUTO 0 // Let the driver decides which AP to join
159 * #define IW_MODE_ADHOC 1 // Single cell network (Ad-Hoc Clients)
160 * #define IW_MODE_INFRA 2 // Multi cell network, roaming, ..
161 * #define IW_MODE_MASTER 3 // Synchronisation master or AP
162 * #define IW_MODE_REPEAT 4 // Wireless Repeater (forwarder)
163 * #define IW_MODE_SECOND 5 // Secondary master/repeater (backup)
164 * #define IW_MODE_MONITOR 6 // Passive monitor (listen only)
165*/
166struct setopmode_parm {
167 u8 mode;
168 u8 rsvd[3];
169};
170
171/*
172 * Caller Mode: AP, Ad-HoC, Infra
173 * Notes: To ask RTL8711 performing site-survey
174 * Command-Event Mode
175 */
176struct sitesurvey_parm {
177 sint passive_mode; /*active: 1, passive: 0 */
178 sint bsslimit; /* 1 ~ 48 */
179 sint ss_ssidlen;
180 u8 ss_ssid[IW_ESSID_MAX_SIZE + 1];
181};
182
183/*
184 * Caller Mode: Any
185 * Notes: To set the auth type of RTL8711. open/shared/802.1x
186 * Command Mode
187 */
188struct setauth_parm {
189 u8 mode; /*0: legacy open, 1: legacy shared 2: 802.1x*/
190 u8 _1x; /*0: PSK, 1: TLS*/
191 u8 rsvd[2];
192};
193
194/*
195 * Caller Mode: Infra
196 * a. algorithm: wep40, wep104, tkip & aes
197 * b. keytype: grp key/unicast key
198 * c. key contents
199 *
200 * when shared key ==> keyid is the camid
201 * when 802.1x ==> keyid [0:1] ==> grp key
202 * when 802.1x ==> keyid > 2 ==> unicast key
203 */
204struct setkey_parm {
205 u8 algorithm; /* encryption algorithm, could be none, wep40,
206 * TKIP, CCMP, wep104 */
207 u8 keyid;
208 u8 grpkey; /* 1: this is the grpkey for 802.1x.
209 * 0: this is the unicast key for 802.1x */
210 u8 key[16]; /* this could be 40 or 104 */
211};
212
213/*
214 * When in AP or Ad-Hoc mode, this is used to
215 * allocate an sw/hw entry for a newly associated sta.
216 * Command
217 * when shared key ==> algorithm/keyid
218 */
219struct set_stakey_parm {
220 u8 addr[ETH_ALEN];
221 u8 algorithm;
222 u8 key[16];
223};
224
225struct set_stakey_rsp {
226 u8 addr[ETH_ALEN];
227 u8 keyid;
228 u8 rsvd;
229};
230
231struct SetMacAddr_param {
232 u8 MacAddr[ETH_ALEN];
233};
234
235/*
236Caller Ad-Hoc/AP
237
238Command -Rsp(AID == CAMID) mode
239
240This is to force fw to add an sta_data entry per driver's request.
241
242FW will write an cam entry associated with it.
243
244*/
245struct set_assocsta_parm {
246 u8 addr[ETH_ALEN];
247};
248
249struct set_assocsta_rsp {
250 u8 cam_id;
251 u8 rsvd[3];
252};
253
254/*
255 Caller Ad-Hoc/AP
256
257 Command mode
258
259 This is to force fw to del an sta_data entry per driver's request
260
261 FW will invalidate the cam entry associated with it.
262
263*/
264struct del_assocsta_parm {
265 u8 addr[ETH_ALEN];
266};
267
268/*
269Caller Mode: AP/Ad-HoC(M)
270
271Notes: To notify fw that given staid has changed its power state
272
273Command Mode
274
275*/
276struct setstapwrstate_parm {
277 u8 staid;
278 u8 status;
279 u8 hwaddr[6];
280};
281
282/*
283Caller Mode: Any
284
285Notes: To setup the basic rate of RTL8711
286
287Command Mode
288
289*/
290struct setbasicrate_parm {
291 u8 basicrates[NumRates];
292};
293
294/*
295Caller Mode: Any
296
297Notes: To read the current basic rate
298
299Command-Rsp Mode
300
301*/
302struct getbasicrate_parm {
303 u32 rsvd;
304};
305
306struct getbasicrate_rsp {
307 u8 basicrates[NumRates];
308};
309
310/*
311Caller Mode: Any
312
313Notes: To setup the data rate of RTL8711
314
315Command Mode
316
317*/
318struct setdatarate_parm {
319 u8 mac_id;
320 u8 datarates[NumRates];
321};
322
323/*
324Caller Mode: Any
325
326Notes: To read the current data rate
327
328Command-Rsp Mode
329
330*/
331struct getdatarate_parm {
332 u32 rsvd;
333
334};
335struct getdatarate_rsp {
336 u8 datarates[NumRates];
337};
338
339
340/*
341Caller Mode: Any
342AP: AP can use the info for the contents of beacon frame
343Infra: STA can use the info when sitesurveying
344Ad-HoC(M): Like AP
345Ad-HoC(C): Like STA
346
347
348Notes: To set the phy capability of the NIC
349
350Command Mode
351
352*/
353
354/*
355Caller Mode: Any
356
357Notes: To set the channel/modem/band
358This command will be used when channel/modem/band is changed.
359
360Command Mode
361
362*/
363/*
364Caller Mode: Any
365
366Notes: To get the current setting of channel/modem/band
367
368Command-Rsp Mode
369
370*/
371struct getphy_rsp {
372 u8 rfchannel;
373 u8 modem;
374};
375
376struct readBB_parm {
377 u8 offset;
378};
379struct readBB_rsp {
380 u8 value;
381};
382
383struct readTSSI_parm {
384 u8 offset;
385};
386struct readTSSI_rsp {
387 u8 value;
388};
389
390struct writeBB_parm {
391 u8 offset;
392 u8 value;
393};
394
395struct readRF_parm {
396 u8 offset;
397};
398struct readRF_rsp {
399 u32 value;
400};
401
402struct writeRF_parm {
403 u32 offset;
404 u32 value;
405};
406
407struct setrfintfs_parm {
408 u8 rfintfs;
409};
410
411struct getrfintfs_parm {
412 u8 rfintfs;
413};
414
415/*
416 Notes: This command is used for H2C/C2H loopback testing
417
418 mac[0] == 0
419 ==> CMD mode, return H2C_SUCCESS.
420 The following condition must be ture under CMD mode
421 mac[1] == mac[4], mac[2] == mac[3], mac[0]=mac[5]= 0;
422 s0 == 0x1234, s1 == 0xabcd, w0 == 0x78563412, w1 == 0x5aa5def7;
423 s2 == (b1 << 8 | b0);
424
425 mac[0] == 1
426 ==> CMD_RSP mode, return H2C_SUCCESS_RSP
427
428 The rsp layout shall be:
429 rsp: parm:
430 mac[0] = mac[5];
431 mac[1] = mac[4];
432 mac[2] = mac[3];
433 mac[3] = mac[2];
434 mac[4] = mac[1];
435 mac[5] = mac[0];
436 s0 = s1;
437 s1 = swap16(s0);
438 w0 = swap32(w1);
439 b0 = b1
440 s2 = s0 + s1
441 b1 = b0
442 w1 = w0
443
444 mac[0] == 2
445 ==> CMD_EVENT mode, return H2C_SUCCESS
446 The event layout shall be:
447 event: parm:
448 mac[0] = mac[5];
449 mac[1] = mac[4];
450 mac[2] = event's sequence number, starting from 1 to parm's marc[3]
451 mac[3] = mac[2];
452 mac[4] = mac[1];
453 mac[5] = mac[0];
454 s0 = swap16(s0) - event.mac[2];
455 s1 = s1 + event.mac[2];
456 w0 = swap32(w0);
457 b0 = b1
458 s2 = s0 + event.mac[2]
459 b1 = b0
460 w1 = swap32(w1) - event.mac[2];
461
462 parm->mac[3] is the total event counts that host requested.
463
464
465 event will be the same with the cmd's param.
466
467*/
468
469/* CMD param Formart for DRV INTERNAL CMD HDL*/
470struct drvint_cmd_parm {
471 int i_cid; /*internal cmd id*/
472 int sz; /* buf sz*/
473 unsigned char *pbuf;
474};
475
476/*------------------- Below are used for RF/BB tunning ---------------------*/
477
478struct setantenna_parm {
479 u8 tx_antset;
480 u8 rx_antset;
481 u8 tx_antenna;
482 u8 rx_antenna;
483};
484
485struct enrateadaptive_parm {
486 u32 en;
487};
488
489struct settxagctbl_parm {
490 u32 txagc[MAX_RATES_LENGTH];
491};
492
493struct gettxagctbl_parm {
494 u32 rsvd;
495};
496struct gettxagctbl_rsp {
497 u32 txagc[MAX_RATES_LENGTH];
498};
499
500struct setagcctrl_parm {
501 u32 agcctrl; /* 0: pure hw, 1: fw */
502};
503
504struct setssup_parm {
505 u32 ss_ForceUp[MAX_RATES_LENGTH];
506};
507
508struct getssup_parm {
509 u32 rsvd;
510};
511struct getssup_rsp {
512 u8 ss_ForceUp[MAX_RATES_LENGTH];
513};
514
515struct setssdlevel_parm {
516 u8 ss_DLevel[MAX_RATES_LENGTH];
517};
518
519struct getssdlevel_parm {
520 u32 rsvd;
521};
522struct getssdlevel_rsp {
523 u8 ss_DLevel[MAX_RATES_LENGTH];
524};
525
526struct setssulevel_parm {
527 u8 ss_ULevel[MAX_RATES_LENGTH];
528};
529
530struct getssulevel_parm {
531 u32 rsvd;
532};
533struct getssulevel_rsp {
534 u8 ss_ULevel[MAX_RATES_LENGTH];
535};
536
537struct setcountjudge_parm {
538 u8 count_judge[MAX_RATES_LENGTH];
539};
540
541struct getcountjudge_parm {
542 u32 rsvd;
543};
544
545struct getcountjudge_rsp {
546 u8 count_judge[MAX_RATES_LENGTH];
547};
548
549struct setpwrmode_parm {
550 u8 mode;
551 u8 flag_low_traffic_en;
552 u8 flag_lpnav_en;
553 u8 flag_rf_low_snr_en;
554 u8 flag_dps_en; /* 1: dps, 0: 32k */
555 u8 bcn_rx_en;
556 u8 bcn_pass_cnt; /* fw report one beacon information to
557 * driver when it receives bcn_pass_cnt
558 * beacons. */
559 u8 bcn_to; /* beacon TO (ms). ¡§=0¡¨ no limit.*/
560 u16 bcn_itv;
561 u8 app_itv; /* only for VOIP mode. */
562 u8 awake_bcn_itv;
563 u8 smart_ps;
564 u8 bcn_pass_time; /* unit: 100ms */
565};
566
567struct setatim_parm {
568 u8 op; /*0: add, 1:del*/
569 u8 txid; /* id of dest station.*/
570};
571
572struct setratable_parm {
573 u8 ss_ForceUp[NumRates];
574 u8 ss_ULevel[NumRates];
575 u8 ss_DLevel[NumRates];
576 u8 count_judge[NumRates];
577};
578
579struct getratable_parm {
580 uint rsvd;
581};
582struct getratable_rsp {
583 u8 ss_ForceUp[NumRates];
584 u8 ss_ULevel[NumRates];
585 u8 ss_DLevel[NumRates];
586 u8 count_judge[NumRates];
587};
588
589/*to get TX,RX retry count*/
Javier M. Mellid05937582011-04-02 03:01:49 +0200590struct gettxretrycnt_parm {
Larry Finger2865d422010-08-20 10:15:30 -0500591 unsigned int rsvd;
592};
593
Javier M. Mellid05937582011-04-02 03:01:49 +0200594struct gettxretrycnt_rsp {
Larry Finger2865d422010-08-20 10:15:30 -0500595 unsigned long tx_retrycnt;
596};
597
Javier M. Mellid05937582011-04-02 03:01:49 +0200598struct getrxretrycnt_parm {
Larry Finger2865d422010-08-20 10:15:30 -0500599 unsigned int rsvd;
600};
601
Javier M. Mellid05937582011-04-02 03:01:49 +0200602struct getrxretrycnt_rsp {
Larry Finger2865d422010-08-20 10:15:30 -0500603 unsigned long rx_retrycnt;
604};
605
606/*to get BCNOK,BCNERR count*/
Javier M. Mellid05937582011-04-02 03:01:49 +0200607struct getbcnokcnt_parm {
Larry Finger2865d422010-08-20 10:15:30 -0500608 unsigned int rsvd;
609};
610
Javier M. Mellid05937582011-04-02 03:01:49 +0200611struct getbcnokcnt_rsp {
612 unsigned long bcnokcnt;
Larry Finger2865d422010-08-20 10:15:30 -0500613};
614
Javier M. Mellid05937582011-04-02 03:01:49 +0200615struct getbcnerrcnt_parm {
Larry Finger2865d422010-08-20 10:15:30 -0500616 unsigned int rsvd;
617};
Javier M. Mellid05937582011-04-02 03:01:49 +0200618struct getbcnerrcnt_rsp {
Larry Finger2865d422010-08-20 10:15:30 -0500619 unsigned long bcnerrcnt;
620};
621
622/* to get current TX power level*/
Javier M. Mellid05937582011-04-02 03:01:49 +0200623struct getcurtxpwrlevel_parm {
Larry Finger2865d422010-08-20 10:15:30 -0500624 unsigned int rsvd;
625};
626
Javier M. Mellid05937582011-04-02 03:01:49 +0200627struct getcurtxpwrlevel_rsp {
Larry Finger2865d422010-08-20 10:15:30 -0500628 unsigned short tx_power;
629};
630
631/*dynamic on/off DIG*/
Javier M. Mellid05937582011-04-02 03:01:49 +0200632struct setdig_parm {
Larry Finger2865d422010-08-20 10:15:30 -0500633 unsigned char dig_on; /* 1:on , 0:off */
634};
635
636/*dynamic on/off RA*/
Javier M. Mellid05937582011-04-02 03:01:49 +0200637struct setra_parm {
Larry Finger2865d422010-08-20 10:15:30 -0500638 unsigned char ra_on; /* 1:on , 0:off */
639};
640
641struct setprobereqextraie_parm {
642 unsigned char e_id;
643 unsigned char ie_len;
644 unsigned char ie[0];
645};
646
647struct setassocreqextraie_parm {
648 unsigned char e_id;
649 unsigned char ie_len;
650 unsigned char ie[0];
651};
652
653struct setproberspextraie_parm {
654 unsigned char e_id;
655 unsigned char ie_len;
656 unsigned char ie[0];
657};
658
659struct setassocrspextraie_parm {
660 unsigned char e_id;
661 unsigned char ie_len;
662 unsigned char ie[0];
663};
664
665struct addBaReq_parm {
666 unsigned int tid;
667};
668
669/*H2C Handler index: 46 */
670struct SetChannel_parm {
671 u32 curr_ch;
672};
673
674/*H2C Handler index: 56 */
675struct PT_param {
676 u8 PT_En;
677};
678
679#define GEN_CMD_CODE(cmd) cmd ## _CMD_
680
681/*
682 * Result:
683 * 0x00: success
Lucas De Marchi25985ed2011-03-30 22:57:33 -0300684 * 0x01: success, and check Response.
Larry Finger2865d422010-08-20 10:15:30 -0500685 * 0x02: cmd ignored due to duplicated sequcne number
686 * 0x03: cmd dropped due to invalid cmd code
687 * 0x04: reserved.
688 */
689
690#define H2C_RSP_OFFSET 512
691#define H2C_SUCCESS 0x00
692#define H2C_SUCCESS_RSP 0x01
693#define H2C_DUPLICATED 0x02
694#define H2C_DROPPED 0x03
695#define H2C_PARAMETERS_ERROR 0x04
696#define H2C_REJECTED 0x05
697#define H2C_CMD_OVERFLOW 0x06
698#define H2C_RESERVED 0x07
699
700u8 r8712_setMacAddr_cmd(struct _adapter *padapter, u8 *mac_addr);
701u8 r8712_setassocsta_cmd(struct _adapter *padapter, u8 *mac_addr);
702u8 r8712_sitesurvey_cmd(struct _adapter *padapter,
703 struct ndis_802_11_ssid *pssid);
704u8 r8712_createbss_cmd(struct _adapter *padapter);
705u8 r8712_setstakey_cmd(struct _adapter *padapter, u8 *psta, u8 unicast_key);
706u8 r8712_joinbss_cmd(struct _adapter *padapter,
707 struct wlan_network *pnetwork);
708u8 r8712_disassoc_cmd(struct _adapter *padapter);
709u8 r8712_setopmode_cmd(struct _adapter *padapter,
710 enum NDIS_802_11_NETWORK_INFRASTRUCTURE networktype);
711u8 r8712_setdatarate_cmd(struct _adapter *padapter, u8 *rateset);
712u8 r8712_setbasicrate_cmd(struct _adapter *padapter, u8 *rateset);
713u8 r8712_getrfreg_cmd(struct _adapter *padapter, u8 offset, u8 * pval);
714u8 r8712_setrfintfs_cmd(struct _adapter *padapter, u8 mode);
715u8 r8712_setrfreg_cmd(struct _adapter *padapter, u8 offset, u32 val);
716u8 r8712_setrttbl_cmd(struct _adapter *padapter,
717 struct setratable_parm *prate_table);
718u8 r8712_setptm_cmd(struct _adapter *padapter, u8 type);
719u8 r8712_addbareq_cmd(struct _adapter *padapter, u8 tid);
720u8 r8712_wdg_wk_cmd(struct _adapter *padapter);
721void r8712_survey_cmd_callback(struct _adapter *padapter,
722 struct cmd_obj *pcmd);
723void r8712_disassoc_cmd_callback(struct _adapter *padapter,
724 struct cmd_obj *pcmd);
725void r8712_joinbss_cmd_callback(struct _adapter *padapter,
726 struct cmd_obj *pcmd);
727void r8712_createbss_cmd_callback(struct _adapter *padapter,
728 struct cmd_obj *pcmd);
729void r8712_getbbrfreg_cmdrsp_callback(struct _adapter *padapter,
730 struct cmd_obj *pcmd);
Ali Baharf15abb82011-09-04 03:14:19 +0800731void r8712_readtssi_cmdrsp_callback(struct _adapter *padapter,
732 struct cmd_obj *pcmd);
Larry Finger2865d422010-08-20 10:15:30 -0500733void r8712_setstaKey_cmdrsp_callback(struct _adapter *padapter,
734 struct cmd_obj *pcmd);
735void r8712_setassocsta_cmdrsp_callback(struct _adapter *padapter,
736 struct cmd_obj *pcmd);
Ali Baharf15abb82011-09-04 03:14:19 +0800737u8 r8712_disconnectCtrlEx_cmd(struct _adapter *adapter, u32 enableDrvCtrl,
738 u32 tryPktCnt, u32 tryPktInterval, u32 firstStageTO);
Larry Finger2865d422010-08-20 10:15:30 -0500739
740struct _cmd_callback {
741 u32 cmd_code;
742 void (*callback)(struct _adapter *padapter, struct cmd_obj *cmd);
743};
744
745#include "rtl8712_cmd.h"
746
747#endif /* _CMD_H_ */
748