123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #ifndef QUALCOMMHEADER_SOURCE
- #define QUALCOMMHEADER_SOURCE
- #include <stdint.h>
- #include "../mme/mme.h"
- #include "../tools/endian.h"
- signed QualcommHeader (struct qualcomm_hdr * header, uint8_t MMV, uint16_t MMTYPE)
- {
- header->MMV = MMV;
- header->MMTYPE = HTOLE16 (MMTYPE);
- header->OUI [0] = 0x00;
- header->OUI [1] = 0xB0;
- header->OUI [2] = 0x52;
- return (sizeof (* header));
- }
- #endif
|