pattern mask, must be long enough to have a bit for each byte in the pattern. The lowest-order bit corresponds to the first byte of the pattern, but the bytes of the pattern are in a little-endian-like format, i.e. the 9th byte of the pattern corresponds to the lowest-order bit in the second byte of the mask. For example: The match 00:xx:00:00:xx:00:00:00:00:xx:xx:xx (where xx indicates "don't care") would be represented by a pattern of twelve zero bytes, and a mask of "0xed,0x01". Note that the pattern matching is done as though frames were not 802.11 frames but 802.3 frames, i.e. the frame is fully unpacked first (including SNAP header unpacking) and then matched.
packet offset, pattern is matched after these fixed number of bytes of received packet
the pattern, values where the mask has a zero bit are ignored
Generated using TypeDoc
packet pattern attribute