X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fcc2420%2FCC2420.h;h=91138798702f948c122b7e650d5852b4b2bc3ae8;hb=21657e1611a52df17c45f74b043ad8e78e3baae0;hp=d554f2d92a21aeabdfaa1029ee3a544ab44836d3;hpb=815ef3b081a7a86619e82be995eddae5c907b46a;p=tinyos-2.x.git diff --git a/tos/chips/cc2420/CC2420.h b/tos/chips/cc2420/CC2420.h index d554f2d9..91138798 100644 --- a/tos/chips/cc2420/CC2420.h +++ b/tos/chips/cc2420/CC2420.h @@ -104,6 +104,9 @@ typedef nx_struct cc2420_header_t { nxle_uint16_t dest; nxle_uint16_t src; /** CC2420 802.15.4 header ends here */ +#ifdef CC2420_HW_SECURITY + security_header_t secHdr; +#endif #ifdef CC2420_IFRAME_TYPE /** I-Frame 6LowPAN interoperability byte */ @@ -114,10 +117,6 @@ typedef nx_struct cc2420_header_t { nxle_uint8_t type; #endif -#ifdef CC2420_HW_SECURITY - security_header_t secHdr; -#endif - } cc2420_header_t; /**