aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/host.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/host.h')
-rw-r--r--drivers/net/wireless/libertas/host.h120
1 files changed, 60 insertions, 60 deletions
diff --git a/drivers/net/wireless/libertas/host.h b/drivers/net/wireless/libertas/host.h
index d70355cff908..43d020cd7403 100644
--- a/drivers/net/wireless/libertas/host.h
+++ b/drivers/net/wireless/libertas/host.h
@@ -326,7 +326,7 @@ struct txpd {
326 u8 pktdelay_2ms; 326 u8 pktdelay_2ms;
327 /* reserved */ 327 /* reserved */
328 u8 reserved1; 328 u8 reserved1;
329} __attribute__ ((packed)); 329} __packed;
330 330
331/* RxPD Descriptor */ 331/* RxPD Descriptor */
332struct rxpd { 332struct rxpd {
@@ -339,8 +339,8 @@ struct rxpd {
339 u8 bss_type; 339 u8 bss_type;
340 /* BSS number */ 340 /* BSS number */
341 u8 bss_num; 341 u8 bss_num;
342 } __attribute__ ((packed)) bss; 342 } __packed bss;
343 } __attribute__ ((packed)) u; 343 } __packed u;
344 344
345 /* SNR */ 345 /* SNR */
346 u8 snr; 346 u8 snr;
@@ -366,14 +366,14 @@ struct rxpd {
366 /* Pkt Priority */ 366 /* Pkt Priority */
367 u8 priority; 367 u8 priority;
368 u8 reserved[3]; 368 u8 reserved[3];
369} __attribute__ ((packed)); 369} __packed;
370 370
371struct cmd_header { 371struct cmd_header {
372 __le16 command; 372 __le16 command;
373 __le16 size; 373 __le16 size;
374 __le16 seqnum; 374 __le16 seqnum;
375 __le16 result; 375 __le16 result;
376} __attribute__ ((packed)); 376} __packed;
377 377
378/* Generic structure to hold all key types. */ 378/* Generic structure to hold all key types. */
379struct enc_key { 379struct enc_key {
@@ -387,7 +387,7 @@ struct enc_key {
387struct lbs_offset_value { 387struct lbs_offset_value {
388 u32 offset; 388 u32 offset;
389 u32 value; 389 u32 value;
390} __attribute__ ((packed)); 390} __packed;
391 391
392#define MRVDRV_MAX_TRIPLET_802_11D 83 392#define MRVDRV_MAX_TRIPLET_802_11D 83
393 393
@@ -450,7 +450,7 @@ struct cmd_ds_get_hw_spec {
450 450
451 /*FW/HW capability */ 451 /*FW/HW capability */
452 __le32 fwcapinfo; 452 __le32 fwcapinfo;
453} __attribute__ ((packed)); 453} __packed;
454 454
455struct cmd_ds_802_11_subscribe_event { 455struct cmd_ds_802_11_subscribe_event {
456 struct cmd_header hdr; 456 struct cmd_header hdr;
@@ -464,7 +464,7 @@ struct cmd_ds_802_11_subscribe_event {
464 * bump this up a bit. 464 * bump this up a bit.
465 */ 465 */
466 uint8_t tlv[128]; 466 uint8_t tlv[128];
467} __attribute__ ((packed)); 467} __packed;
468 468
469/* 469/*
470 * This scan handle Country Information IE(802.11d compliant) 470 * This scan handle Country Information IE(802.11d compliant)
@@ -476,7 +476,7 @@ struct cmd_ds_802_11_scan {
476 uint8_t bsstype; 476 uint8_t bsstype;
477 uint8_t bssid[ETH_ALEN]; 477 uint8_t bssid[ETH_ALEN];
478 uint8_t tlvbuffer[0]; 478 uint8_t tlvbuffer[0];
479} __attribute__ ((packed)); 479} __packed;
480 480
481struct cmd_ds_802_11_scan_rsp { 481struct cmd_ds_802_11_scan_rsp {
482 struct cmd_header hdr; 482 struct cmd_header hdr;
@@ -484,7 +484,7 @@ struct cmd_ds_802_11_scan_rsp {
484 __le16 bssdescriptsize; 484 __le16 bssdescriptsize;
485 uint8_t nr_sets; 485 uint8_t nr_sets;
486 uint8_t bssdesc_and_tlvbuffer[0]; 486 uint8_t bssdesc_and_tlvbuffer[0];
487} __attribute__ ((packed)); 487} __packed;
488 488
489struct cmd_ds_802_11_get_log { 489struct cmd_ds_802_11_get_log {
490 struct cmd_header hdr; 490 struct cmd_header hdr;
@@ -502,20 +502,20 @@ struct cmd_ds_802_11_get_log {
502 __le32 fcserror; 502 __le32 fcserror;
503 __le32 txframe; 503 __le32 txframe;
504 __le32 wepundecryptable; 504 __le32 wepundecryptable;
505} __attribute__ ((packed)); 505} __packed;
506 506
507struct cmd_ds_mac_control { 507struct cmd_ds_mac_control {
508 struct cmd_header hdr; 508 struct cmd_header hdr;
509 __le16 action; 509 __le16 action;
510 u16 reserved; 510 u16 reserved;
511} __attribute__ ((packed)); 511} __packed;
512 512
513struct cmd_ds_mac_multicast_adr { 513struct cmd_ds_mac_multicast_adr {
514 struct cmd_header hdr; 514 struct cmd_header hdr;
515 __le16 action; 515 __le16 action;
516 __le16 nr_of_adrs; 516 __le16 nr_of_adrs;
517 u8 maclist[ETH_ALEN * MRVDRV_MAX_MULTICAST_LIST_SIZE]; 517 u8 maclist[ETH_ALEN * MRVDRV_MAX_MULTICAST_LIST_SIZE];
518} __attribute__ ((packed)); 518} __packed;
519 519
520struct cmd_ds_802_11_authenticate { 520struct cmd_ds_802_11_authenticate {
521 struct cmd_header hdr; 521 struct cmd_header hdr;
@@ -523,14 +523,14 @@ struct cmd_ds_802_11_authenticate {
523 u8 bssid[ETH_ALEN]; 523 u8 bssid[ETH_ALEN];
524 u8 authtype; 524 u8 authtype;
525 u8 reserved[10]; 525 u8 reserved[10];
526} __attribute__ ((packed)); 526} __packed;
527 527
528struct cmd_ds_802_11_deauthenticate { 528struct cmd_ds_802_11_deauthenticate {
529 struct cmd_header hdr; 529 struct cmd_header hdr;
530 530
531 u8 macaddr[ETH_ALEN]; 531 u8 macaddr[ETH_ALEN];
532 __le16 reasoncode; 532 __le16 reasoncode;
533} __attribute__ ((packed)); 533} __packed;
534 534
535struct cmd_ds_802_11_associate { 535struct cmd_ds_802_11_associate {
536 struct cmd_header hdr; 536 struct cmd_header hdr;
@@ -541,7 +541,7 @@ struct cmd_ds_802_11_associate {
541 __le16 bcnperiod; 541 __le16 bcnperiod;
542 u8 dtimperiod; 542 u8 dtimperiod;
543 u8 iebuf[512]; /* Enough for required and most optional IEs */ 543 u8 iebuf[512]; /* Enough for required and most optional IEs */
544} __attribute__ ((packed)); 544} __packed;
545 545
546struct cmd_ds_802_11_associate_response { 546struct cmd_ds_802_11_associate_response {
547 struct cmd_header hdr; 547 struct cmd_header hdr;
@@ -550,7 +550,7 @@ struct cmd_ds_802_11_associate_response {
550 __le16 statuscode; 550 __le16 statuscode;
551 __le16 aid; 551 __le16 aid;
552 u8 iebuf[512]; 552 u8 iebuf[512];
553} __attribute__ ((packed)); 553} __packed;
554 554
555struct cmd_ds_802_11_set_wep { 555struct cmd_ds_802_11_set_wep {
556 struct cmd_header hdr; 556 struct cmd_header hdr;
@@ -564,7 +564,7 @@ struct cmd_ds_802_11_set_wep {
564 /* 40, 128bit or TXWEP */ 564 /* 40, 128bit or TXWEP */
565 uint8_t keytype[4]; 565 uint8_t keytype[4];
566 uint8_t keymaterial[4][16]; 566 uint8_t keymaterial[4][16];
567} __attribute__ ((packed)); 567} __packed;
568 568
569struct cmd_ds_802_11_snmp_mib { 569struct cmd_ds_802_11_snmp_mib {
570 struct cmd_header hdr; 570 struct cmd_header hdr;
@@ -573,40 +573,40 @@ struct cmd_ds_802_11_snmp_mib {
573 __le16 oid; 573 __le16 oid;
574 __le16 bufsize; 574 __le16 bufsize;
575 u8 value[128]; 575 u8 value[128];
576} __attribute__ ((packed)); 576} __packed;
577 577
578struct cmd_ds_mac_reg_access { 578struct cmd_ds_mac_reg_access {
579 __le16 action; 579 __le16 action;
580 __le16 offset; 580 __le16 offset;
581 __le32 value; 581 __le32 value;
582} __attribute__ ((packed)); 582} __packed;
583 583
584struct cmd_ds_bbp_reg_access { 584struct cmd_ds_bbp_reg_access {
585 __le16 action; 585 __le16 action;
586 __le16 offset; 586 __le16 offset;
587 u8 value; 587 u8 value;
588 u8 reserved[3]; 588 u8 reserved[3];
589} __attribute__ ((packed)); 589} __packed;
590 590
591struct cmd_ds_rf_reg_access { 591struct cmd_ds_rf_reg_access {
592 __le16 action; 592 __le16 action;
593 __le16 offset; 593 __le16 offset;
594 u8 value; 594 u8 value;
595 u8 reserved[3]; 595 u8 reserved[3];
596} __attribute__ ((packed)); 596} __packed;
597 597
598struct cmd_ds_802_11_radio_control { 598struct cmd_ds_802_11_radio_control {
599 struct cmd_header hdr; 599 struct cmd_header hdr;
600 600
601 __le16 action; 601 __le16 action;
602 __le16 control; 602 __le16 control;
603} __attribute__ ((packed)); 603} __packed;
604 604
605struct cmd_ds_802_11_beacon_control { 605struct cmd_ds_802_11_beacon_control {
606 __le16 action; 606 __le16 action;
607 __le16 beacon_enable; 607 __le16 beacon_enable;
608 __le16 beacon_period; 608 __le16 beacon_period;
609} __attribute__ ((packed)); 609} __packed;
610 610
611struct cmd_ds_802_11_sleep_params { 611struct cmd_ds_802_11_sleep_params {
612 struct cmd_header hdr; 612 struct cmd_header hdr;
@@ -631,7 +631,7 @@ struct cmd_ds_802_11_sleep_params {
631 631
632 /* reserved field, should be set to zero */ 632 /* reserved field, should be set to zero */
633 __le16 reserved; 633 __le16 reserved;
634} __attribute__ ((packed)); 634} __packed;
635 635
636struct cmd_ds_802_11_rf_channel { 636struct cmd_ds_802_11_rf_channel {
637 struct cmd_header hdr; 637 struct cmd_header hdr;
@@ -641,7 +641,7 @@ struct cmd_ds_802_11_rf_channel {
641 __le16 rftype; /* unused */ 641 __le16 rftype; /* unused */
642 __le16 reserved; /* unused */ 642 __le16 reserved; /* unused */
643 u8 channellist[32]; /* unused */ 643 u8 channellist[32]; /* unused */
644} __attribute__ ((packed)); 644} __packed;
645 645
646struct cmd_ds_802_11_rssi { 646struct cmd_ds_802_11_rssi {
647 /* weighting factor */ 647 /* weighting factor */
@@ -650,21 +650,21 @@ struct cmd_ds_802_11_rssi {
650 __le16 reserved_0; 650 __le16 reserved_0;
651 __le16 reserved_1; 651 __le16 reserved_1;
652 __le16 reserved_2; 652 __le16 reserved_2;
653} __attribute__ ((packed)); 653} __packed;
654 654
655struct cmd_ds_802_11_rssi_rsp { 655struct cmd_ds_802_11_rssi_rsp {
656 __le16 SNR; 656 __le16 SNR;
657 __le16 noisefloor; 657 __le16 noisefloor;
658 __le16 avgSNR; 658 __le16 avgSNR;
659 __le16 avgnoisefloor; 659 __le16 avgnoisefloor;
660} __attribute__ ((packed)); 660} __packed;
661 661
662struct cmd_ds_802_11_mac_address { 662struct cmd_ds_802_11_mac_address {
663 struct cmd_header hdr; 663 struct cmd_header hdr;
664 664
665 __le16 action; 665 __le16 action;
666 u8 macadd[ETH_ALEN]; 666 u8 macadd[ETH_ALEN];
667} __attribute__ ((packed)); 667} __packed;
668 668
669struct cmd_ds_802_11_rf_tx_power { 669struct cmd_ds_802_11_rf_tx_power {
670 struct cmd_header hdr; 670 struct cmd_header hdr;
@@ -673,26 +673,26 @@ struct cmd_ds_802_11_rf_tx_power {
673 __le16 curlevel; 673 __le16 curlevel;
674 s8 maxlevel; 674 s8 maxlevel;
675 s8 minlevel; 675 s8 minlevel;
676} __attribute__ ((packed)); 676} __packed;
677 677
678struct cmd_ds_802_11_monitor_mode { 678struct cmd_ds_802_11_monitor_mode {
679 __le16 action; 679 __le16 action;
680 __le16 mode; 680 __le16 mode;
681} __attribute__ ((packed)); 681} __packed;
682 682
683struct cmd_ds_set_boot2_ver { 683struct cmd_ds_set_boot2_ver {
684 struct cmd_header hdr; 684 struct cmd_header hdr;
685 685
686 __le16 action; 686 __le16 action;
687 __le16 version; 687 __le16 version;
688} __attribute__ ((packed)); 688} __packed;
689 689
690struct cmd_ds_802_11_fw_wake_method { 690struct cmd_ds_802_11_fw_wake_method {
691 struct cmd_header hdr; 691 struct cmd_header hdr;
692 692
693 __le16 action; 693 __le16 action;
694 __le16 method; 694 __le16 method;
695} __attribute__ ((packed)); 695} __packed;
696 696
697struct cmd_ds_802_11_ps_mode { 697struct cmd_ds_802_11_ps_mode {
698 __le16 action; 698 __le16 action;
@@ -700,7 +700,7 @@ struct cmd_ds_802_11_ps_mode {
700 __le16 multipledtim; 700 __le16 multipledtim;
701 __le16 reserved; 701 __le16 reserved;
702 __le16 locallisteninterval; 702 __le16 locallisteninterval;
703} __attribute__ ((packed)); 703} __packed;
704 704
705struct cmd_confirm_sleep { 705struct cmd_confirm_sleep {
706 struct cmd_header hdr; 706 struct cmd_header hdr;
@@ -710,7 +710,7 @@ struct cmd_confirm_sleep {
710 __le16 multipledtim; 710 __le16 multipledtim;
711 __le16 reserved; 711 __le16 reserved;
712 __le16 locallisteninterval; 712 __le16 locallisteninterval;
713} __attribute__ ((packed)); 713} __packed;
714 714
715struct cmd_ds_802_11_data_rate { 715struct cmd_ds_802_11_data_rate {
716 struct cmd_header hdr; 716 struct cmd_header hdr;
@@ -718,14 +718,14 @@ struct cmd_ds_802_11_data_rate {
718 __le16 action; 718 __le16 action;
719 __le16 reserved; 719 __le16 reserved;
720 u8 rates[MAX_RATES]; 720 u8 rates[MAX_RATES];
721} __attribute__ ((packed)); 721} __packed;
722 722
723struct cmd_ds_802_11_rate_adapt_rateset { 723struct cmd_ds_802_11_rate_adapt_rateset {
724 struct cmd_header hdr; 724 struct cmd_header hdr;
725 __le16 action; 725 __le16 action;
726 __le16 enablehwauto; 726 __le16 enablehwauto;
727 __le16 bitmap; 727 __le16 bitmap;
728} __attribute__ ((packed)); 728} __packed;
729 729
730struct cmd_ds_802_11_ad_hoc_start { 730struct cmd_ds_802_11_ad_hoc_start {
731 struct cmd_header hdr; 731 struct cmd_header hdr;
@@ -742,14 +742,14 @@ struct cmd_ds_802_11_ad_hoc_start {
742 __le16 capability; 742 __le16 capability;
743 u8 rates[MAX_RATES]; 743 u8 rates[MAX_RATES];
744 u8 tlv_memory_size_pad[100]; 744 u8 tlv_memory_size_pad[100];
745} __attribute__ ((packed)); 745} __packed;
746 746
747struct cmd_ds_802_11_ad_hoc_result { 747struct cmd_ds_802_11_ad_hoc_result {
748 struct cmd_header hdr; 748 struct cmd_header hdr;
749 749
750 u8 pad[3]; 750 u8 pad[3];
751 u8 bssid[ETH_ALEN]; 751 u8 bssid[ETH_ALEN];
752} __attribute__ ((packed)); 752} __packed;
753 753
754struct adhoc_bssdesc { 754struct adhoc_bssdesc {
755 u8 bssid[ETH_ALEN]; 755 u8 bssid[ETH_ALEN];
@@ -770,7 +770,7 @@ struct adhoc_bssdesc {
770 * Adhoc join command and will cause a binary layout mismatch with 770 * Adhoc join command and will cause a binary layout mismatch with
771 * the firmware 771 * the firmware
772 */ 772 */
773} __attribute__ ((packed)); 773} __packed;
774 774
775struct cmd_ds_802_11_ad_hoc_join { 775struct cmd_ds_802_11_ad_hoc_join {
776 struct cmd_header hdr; 776 struct cmd_header hdr;
@@ -778,18 +778,18 @@ struct cmd_ds_802_11_ad_hoc_join {
778 struct adhoc_bssdesc bss; 778 struct adhoc_bssdesc bss;
779 __le16 failtimeout; /* Reserved on v9 and later */ 779 __le16 failtimeout; /* Reserved on v9 and later */
780 __le16 probedelay; /* Reserved on v9 and later */ 780 __le16 probedelay; /* Reserved on v9 and later */
781} __attribute__ ((packed)); 781} __packed;
782 782
783struct cmd_ds_802_11_ad_hoc_stop { 783struct cmd_ds_802_11_ad_hoc_stop {
784 struct cmd_header hdr; 784 struct cmd_header hdr;
785} __attribute__ ((packed)); 785} __packed;
786 786
787struct cmd_ds_802_11_enable_rsn { 787struct cmd_ds_802_11_enable_rsn {
788 struct cmd_header hdr; 788 struct cmd_header hdr;
789 789
790 __le16 action; 790 __le16 action;
791 __le16 enable; 791 __le16 enable;
792} __attribute__ ((packed)); 792} __packed;
793 793
794struct MrvlIEtype_keyParamSet { 794struct MrvlIEtype_keyParamSet {
795 /* type ID */ 795 /* type ID */
@@ -809,7 +809,7 @@ struct MrvlIEtype_keyParamSet {
809 809
810 /* key material of size keylen */ 810 /* key material of size keylen */
811 u8 key[32]; 811 u8 key[32];
812} __attribute__ ((packed)); 812} __packed;
813 813
814#define MAX_WOL_RULES 16 814#define MAX_WOL_RULES 16
815 815
@@ -821,7 +821,7 @@ struct host_wol_rule {
821 __le16 reserve; 821 __le16 reserve;
822 __be32 sig_mask; 822 __be32 sig_mask;
823 __be32 signature; 823 __be32 signature;
824} __attribute__ ((packed)); 824} __packed;
825 825
826struct wol_config { 826struct wol_config {
827 uint8_t action; 827 uint8_t action;
@@ -829,7 +829,7 @@ struct wol_config {
829 uint8_t no_rules_in_cmd; 829 uint8_t no_rules_in_cmd;
830 uint8_t result; 830 uint8_t result;
831 struct host_wol_rule rule[MAX_WOL_RULES]; 831 struct host_wol_rule rule[MAX_WOL_RULES];
832} __attribute__ ((packed)); 832} __packed;
833 833
834struct cmd_ds_host_sleep { 834struct cmd_ds_host_sleep {
835 struct cmd_header hdr; 835 struct cmd_header hdr;
@@ -837,7 +837,7 @@ struct cmd_ds_host_sleep {
837 uint8_t gpio; 837 uint8_t gpio;
838 uint16_t gap; 838 uint16_t gap;
839 struct wol_config wol_conf; 839 struct wol_config wol_conf;
840} __attribute__ ((packed)); 840} __packed;
841 841
842 842
843 843
@@ -846,7 +846,7 @@ struct cmd_ds_802_11_key_material {
846 846
847 __le16 action; 847 __le16 action;
848 struct MrvlIEtype_keyParamSet keyParamSet[2]; 848 struct MrvlIEtype_keyParamSet keyParamSet[2];
849} __attribute__ ((packed)); 849} __packed;
850 850
851struct cmd_ds_802_11_eeprom_access { 851struct cmd_ds_802_11_eeprom_access {
852 struct cmd_header hdr; 852 struct cmd_header hdr;
@@ -856,7 +856,7 @@ struct cmd_ds_802_11_eeprom_access {
856 /* firmware says it returns a maximum of 20 bytes */ 856 /* firmware says it returns a maximum of 20 bytes */
857#define LBS_EEPROM_READ_LEN 20 857#define LBS_EEPROM_READ_LEN 20
858 u8 value[LBS_EEPROM_READ_LEN]; 858 u8 value[LBS_EEPROM_READ_LEN];
859} __attribute__ ((packed)); 859} __packed;
860 860
861struct cmd_ds_802_11_tpc_cfg { 861struct cmd_ds_802_11_tpc_cfg {
862 struct cmd_header hdr; 862 struct cmd_header hdr;
@@ -867,7 +867,7 @@ struct cmd_ds_802_11_tpc_cfg {
867 int8_t P1; 867 int8_t P1;
868 int8_t P2; 868 int8_t P2;
869 uint8_t usesnr; 869 uint8_t usesnr;
870} __attribute__ ((packed)); 870} __packed;
871 871
872 872
873struct cmd_ds_802_11_pa_cfg { 873struct cmd_ds_802_11_pa_cfg {
@@ -878,14 +878,14 @@ struct cmd_ds_802_11_pa_cfg {
878 int8_t P0; 878 int8_t P0;
879 int8_t P1; 879 int8_t P1;
880 int8_t P2; 880 int8_t P2;
881} __attribute__ ((packed)); 881} __packed;
882 882
883 883
884struct cmd_ds_802_11_led_ctrl { 884struct cmd_ds_802_11_led_ctrl {
885 __le16 action; 885 __le16 action;
886 __le16 numled; 886 __le16 numled;
887 u8 data[256]; 887 u8 data[256];
888} __attribute__ ((packed)); 888} __packed;
889 889
890struct cmd_ds_802_11_afc { 890struct cmd_ds_802_11_afc {
891 __le16 afc_auto; 891 __le16 afc_auto;
@@ -899,22 +899,22 @@ struct cmd_ds_802_11_afc {
899 __le16 carrier_offset; /* signed */ 899 __le16 carrier_offset; /* signed */
900 }; 900 };
901 }; 901 };
902} __attribute__ ((packed)); 902} __packed;
903 903
904struct cmd_tx_rate_query { 904struct cmd_tx_rate_query {
905 __le16 txrate; 905 __le16 txrate;
906} __attribute__ ((packed)); 906} __packed;
907 907
908struct cmd_ds_get_tsf { 908struct cmd_ds_get_tsf {
909 __le64 tsfvalue; 909 __le64 tsfvalue;
910} __attribute__ ((packed)); 910} __packed;
911 911
912struct cmd_ds_bt_access { 912struct cmd_ds_bt_access {
913 __le16 action; 913 __le16 action;
914 __le32 id; 914 __le32 id;
915 u8 addr1[ETH_ALEN]; 915 u8 addr1[ETH_ALEN];
916 u8 addr2[ETH_ALEN]; 916 u8 addr2[ETH_ALEN];
917} __attribute__ ((packed)); 917} __packed;
918 918
919struct cmd_ds_fwt_access { 919struct cmd_ds_fwt_access {
920 __le16 action; 920 __le16 action;
@@ -934,7 +934,7 @@ struct cmd_ds_fwt_access {
934 __le32 snr; 934 __le32 snr;
935 __le32 references; 935 __le32 references;
936 u8 prec[ETH_ALEN]; 936 u8 prec[ETH_ALEN];
937} __attribute__ ((packed)); 937} __packed;
938 938
939struct cmd_ds_mesh_config { 939struct cmd_ds_mesh_config {
940 struct cmd_header hdr; 940 struct cmd_header hdr;
@@ -944,14 +944,14 @@ struct cmd_ds_mesh_config {
944 __le16 type; 944 __le16 type;
945 __le16 length; 945 __le16 length;
946 u8 data[128]; /* last position reserved */ 946 u8 data[128]; /* last position reserved */
947} __attribute__ ((packed)); 947} __packed;
948 948
949struct cmd_ds_mesh_access { 949struct cmd_ds_mesh_access {
950 struct cmd_header hdr; 950 struct cmd_header hdr;
951 951
952 __le16 action; 952 __le16 action;
953 __le32 data[32]; /* last position reserved */ 953 __le32 data[32]; /* last position reserved */
954} __attribute__ ((packed)); 954} __packed;
955 955
956/* Number of stats counters returned by the firmware */ 956/* Number of stats counters returned by the firmware */
957#define MESH_STATS_NUM 8 957#define MESH_STATS_NUM 8
@@ -984,5 +984,5 @@ struct cmd_ds_command {
984 struct cmd_ds_fwt_access fwt; 984 struct cmd_ds_fwt_access fwt;
985 struct cmd_ds_802_11_beacon_control bcn_ctrl; 985 struct cmd_ds_802_11_beacon_control bcn_ctrl;
986 } params; 986 } params;
987} __attribute__ ((packed)); 987} __packed;
988#endif 988#endif