{"id":103,"date":"2021-02-01T11:27:58","date_gmt":"2021-02-01T11:27:58","guid":{"rendered":"http:\/\/softwarewng.networks.imdea.org\/?page_id=103"},"modified":"2021-02-04T10:49:26","modified_gmt":"2021-02-04T10:49:26","slug":"adaptive-codebook-optimization","status":"publish","type":"page","link":"https:\/\/softwarewng.networks.imdea.org\/es\/adaptive-codebook-optimization\/","title":{"rendered":"adaptive codebook optimization"},"content":{"rendered":"<p class=\"rtejustify\">This code is intended for replicating the results of the paper presented in Mobicom 2018:<\/p>\n<p class=\"rtejustify\"><a href=\"http:\/\/eprints.networks.imdea.org\/1880\/\" rel=\"nofollow\">\u00abJoan Palacios, Daniel Steinmetzer, Adrian Loch, Matthias Hollick, and Joerg Widmer. 2018. Adaptive Codebook Optimization for Beam Training on Off-The-Shelf IEEE 802.11ad Devices. In Proceedings of the 24th ACM Annual International Conference on Mobile Computing and Networking.\u00bb<\/a><\/p>\n<h2 class=\"rtejustify\">Requirements<\/h2>\n<ol>\n<li class=\"rtejustify\">Two TALON7200AD routers (one will act as AP and the other as STA)<\/li>\n<li class=\"rtejustify\">A PC with ssh, scp and Python installed<\/li>\n<\/ol>\n<h2 class=\"rtejustify\">Routers configuration<\/h2>\n<ol>\n<li class=\"rtejustify\">Routers must be flashed with the firmware modification made by Daniel Steinmetzer that you can find in this\u00a0<a href=\"https:\/\/github.com\/seemoo-lab\/lede-ad7200\">link<\/a>.<\/li>\n<li class=\"rtejustify\">Then, you should copy the folders Router_AP and Router_STA in each router\u2019s main folder. This will configure them to act as AP and STA and to create a Wi-Fi Network with SSID \u201cACOTalon\u201d and password \u201cTalonACO\u201d, so you can access the AP with IP \u201c192.168.4.2\u201d and the STA with IP \u201c192.168.4.3\u201d. Please, remember to configure a static IP in your PC that doesn\u2019t create a conflict with your router\u2019s ones.<\/li>\n<li class=\"rtejustify\">You must set a password for the root user in the routers using command \u201cpasswd root\u201d. Step 1 allows you to read the per sector RSSI and SNR measured by the routers Step 2 configures the routers Step 3 sets the password used for the ssh connection in the Python script<\/li>\n<\/ol>\n<h2 class=\"rtejustify\">Python scripts<\/h2>\n<p class=\"rtejustify\">The main python script for measuring is \u201cRunExperiments_v2Dev.py\u201d. In this script you can find the parameters to modify in the beginning of the file under the title \u201cCONFIGURE ENVIRONMENT\u201d. This will reproduce a measurement for the experiments done in our Mobicom paper \u201cACO\u201d. Then you can find two other scripts to show results \u201cVisualizeData_v2.py\u201d and \u201cVisualizeSimpleData.py\u201d. There\u2019s another script \u201cSaveDATA_MAT.py\u201d that translates the experiments measures to a MatLab file so you can analyze the results using MatLab.<\/p>\n<h2>Demo:\u00a0<a href=\"https:\/\/joanguitar.github.io\/ACO\/\" target=\"_blank\" rel=\"noopener\">https:\/\/joanguitar.github.io\/ACO\/<\/a>\u00a0(WIP)<\/h2>\n<h2>Repository:\u00a0<a href=\"https:\/\/github.com\/Joanguitar\/ACO\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/Joanguitar\/ACO<\/a><\/h2>\n<h2 class=\"rtejustify\">Contact<\/h2>\n<p class=\"rtejustify\"><a href=\"https:\/\/scholar.google.es\/citations?user=tTH1m20AAAAJ\" rel=\"nofollow\">Joan Palacios<\/a>\u00a0[<a href=\"mailto:joan.palacios@imdea.org\">joan.palacios@imdea.org<\/a>]<\/p>\n<h2 class=\"rtejustify\"><a href=\"https:\/\/wireless.networks.imdea.org\/sites\/default\/files\/sitefiles\/other\/Adaptive-Codebook-Optimization-master.rar\">Download here<\/a><\/h2>\n","protected":false},"excerpt":{"rendered":"This code is intended for replicating the results of the paper presented in Mobicom 2018: \u00abJoan Palacios, Daniel Steinmetzer, Adrian Loch, Matthias Hollick, and Joerg Widmer. 2018. Adaptive Codebook Optimization for Beam Training on Off-The-Shelf IEEE 802.11ad Devices. In Proceedings of the 24th ACM Annual International Conference on Mobile Computing and Networking.\u00bb Requirements Two TALON7200AD&#8230;","protected":false},"author":7,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-103","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/softwarewng.networks.imdea.org\/es\/wp-json\/wp\/v2\/pages\/103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softwarewng.networks.imdea.org\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/softwarewng.networks.imdea.org\/es\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/softwarewng.networks.imdea.org\/es\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/softwarewng.networks.imdea.org\/es\/wp-json\/wp\/v2\/comments?post=103"}],"version-history":[{"count":3,"href":"https:\/\/softwarewng.networks.imdea.org\/es\/wp-json\/wp\/v2\/pages\/103\/revisions"}],"predecessor-version":[{"id":124,"href":"https:\/\/softwarewng.networks.imdea.org\/es\/wp-json\/wp\/v2\/pages\/103\/revisions\/124"}],"wp:attachment":[{"href":"https:\/\/softwarewng.networks.imdea.org\/es\/wp-json\/wp\/v2\/media?parent=103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}