- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

# /space/home/slher/rel/Beken/v6_4_5/macsw/ip/umac/src/mfp/mfp.h

Go to the documentation of this file.

    00001
    00012 #ifndef _MFP_H_
    00013 #define _MFP_H_
    00014
    00015 #include "co_bool.h"
    00016 #include "co_int.h"
    00017 #include "rxu_cntrl.h"
    00018
    00030
    00031 enum mfp_protection
    00032 {
    00034     MFP_NO_PROT,
    00036     MFP_UNICAST_PROT,
    00038     MFP_MULTICAST_PROT,
    00039 };
    00040
    00051 bool mfp_is_robust_frame(uint16_t frame_cntl, uint8_t action);
    00052
    00081 bool mfp_ignore_mgmt_frame(struct rx_cntrl_rx_status *rx_status,
    00082                            uint32_t *frame, uint16_t frmlen, bool *upload);
    00083
    00084
    00105 enum mfp_protection mfp_protect_mgmt_frame(struct txdesc *txdesc,
    00106                                            uint16_t fctl, uint8_t action);
    00107
    00108
    00123 int mfp_add_mgmt_mic(struct txdesc *txdesc, uint32_t frame, int length,
    00124                      uint32_t mmic);
    00125
    00126
    00130 #endif /* _MFP_H_ */