From 82430c2d5d5213f1e8a95d8da9e133ada2467596 Mon Sep 17 00:00:00 2001 From: Ivan Chvets Date: Thu, 31 Oct 2024 10:14:21 -0400 Subject: [PATCH] doc: update protocol.md https://telecominfraproject.atlassian.net/browse/WIFI-14254 Summary of changes: - Updated PROTOCOL.md with compressed configuration message specification. Signed-off-by: Ivan Chvets --- PROTOCOL.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/PROTOCOL.md b/PROTOCOL.md index a3af296d..1e14dda6 100644 --- a/PROTOCOL.md +++ b/PROTOCOL.md @@ -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" : "", + "compress_sz" : "" + }, + "id" : +} +``` + The device should answer: ```json { "jsonrpc" : "2.0",