| 1739 | |
| 1740 | |
| 1741 | class NeighborReport(Packet): |
| 1742 | name = "Neighbor Report" |
| 1743 | fields_desc = [ |
| 1744 | ByteField("type", 0), |
| 1745 | ByteField("len", 13), |
| 1746 | MACField("BSSID", ETHER_ANY), |
| 1747 | # BSSID Information |
| 1748 | BitField("AP_reach", 0, 2, tot_size=-4), |
| 1749 | BitField("security", 0, 1), |
| 1750 | BitField("key_scope", 0, 1), |
| 1751 | BitField("capabilities", 0, 6), |
| 1752 | BitField("mobility", 0, 1), |
| 1753 | BitField("HT", 0, 1), |
| 1754 | BitField("VHT", 0, 1), |
| 1755 | BitField("FTM", 0, 1), |
| 1756 | BitField("reserved", 0, 18, end_tot_size=-4), |
| 1757 | # BSSID Information end |
| 1758 | ByteField("op_class", 0), |
| 1759 | ByteField("channel", 0), |
| 1760 | ByteField("phy_type", 0), |
| 1761 | ConditionalField( |
| 1762 | PacketListField( |
| 1763 | "subelems", |
| 1764 | SubelemTLV(), |
| 1765 | SubelemTLV, |
| 1766 | length_from=lambda p: p.len - 13 |
| 1767 | ), |
| 1768 | lambda p: p.len > 13 |
| 1769 | ) |
| 1770 | ] |
| 1771 | |
| 1772 | |
| 1773 | # 802.11-2016 9.6.14.9 |
no test coverage detected
searching dependent graphs…