| 4801 | } |
| 4802 | |
| 4803 | static void |
| 4804 | printrate(const char *tag, int v, int defrate, int defmcs) |
| 4805 | { |
| 4806 | if ((v & IEEE80211_RATE_MCS) == 0) { |
| 4807 | if (v != defrate) { |
| 4808 | if (v & 1) |
| 4809 | LINE_CHECK("%s %d.5", tag, v/2); |
| 4810 | else |
| 4811 | LINE_CHECK("%s %d", tag, v/2); |
| 4812 | } |
| 4813 | } else { |
| 4814 | if (v != defmcs) |
| 4815 | LINE_CHECK("%s %d", tag, v &~ 0x80); |
| 4816 | } |
| 4817 | } |
| 4818 | |
| 4819 | static int |
| 4820 | getid(int s, int ix, void *data, size_t len, int *plen, int mesh) |
no test coverage detected