Skip to content

Commit

Permalink
doc: update protocol.md
Browse files Browse the repository at this point in the history
https://telecominfraproject.atlassian.net/browse/WIFI-14254

Summary of changes:
- Updated PROTOCOL.md with compressed configuration message
  specification.

Signed-off-by: Ivan Chvets <[email protected]>
  • Loading branch information
i-chvets committed Oct 31, 2024
1 parent 7b68ec0 commit 82430c2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions PROTOCOL.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,20 @@ should respond with message indicating failure or success.
}
```

If AP supports compressed configuration feature by inidcating `compress_cmd=true` in its capabilities, controller
will send a compressed configuration message where configuration payload (i.e. contents of `params`) is compressed
and encoded in base64 format:
```json
{ "jsonrpc" : "2.0",
"method" : "configure",
"params" : {
"compress_64" : "<b64 encoded zlib compressed payload>",
"compress_sz" : "<size of uncompressed data in bytes>"
},
"id" : <some number>
}
```

The device should answer:
```json
{ "jsonrpc" : "2.0",
Expand Down

0 comments on commit 82430c2

Please sign in to comment.